Click here to Skip to main content
15,887,776 members

Survey Results

Can you, without looking it up, write code to convert any Binary Search Tree to a Balanced Binary Search Tree?

Survey period: 7 Jun 2021 to 14 Jun 2021

The real question is: Is this important these days? Esoteric knowledge we need for interviews, or basic skills we should know cold?

OptionVotes% 
Yes I can, and every developer should be able to as well131.69
Yes, I can, but it's not really that important384.94
I did it for an interview question and have never done it since.151.95
I knew how to once, but the details are fuzzy13918.08
Maybe, probably, not 100% sure9712.61
No,. I don't think I could27836.15
I don't even know what a Binary Search Tree is, let alone a balanced one18924.58



 
GeneralI don't think I couldn't... PinPopular
Sander Rossel6-Jun-21 22:10
professionalSander Rossel6-Jun-21 22:10 
GeneralRe: I don't think I couldn't... Pin
Nelek7-Jun-21 21:19
protectorNelek7-Jun-21 21:19 
GeneralNo. Give me an expected result Pin
den2k886-Jun-21 20:45
professionalden2k886-Jun-21 20:45 
GeneralNever PinPopular
Threepwood19736-Jun-21 20:09
professionalThreepwood19736-Jun-21 20:09 
GeneralRe: Never Pin
jpoggio6-Jun-21 23:05
jpoggio6-Jun-21 23:05 
GeneralRe: Never Pin
Doug Domeny7-Jun-21 8:32
professionalDoug Domeny7-Jun-21 8:32 
PraiseRe: Never Pin
SeeSharp28-Jun-21 4:00
SeeSharp28-Jun-21 4:00 
GeneralRe: Never Pin
Chris Losinger11-Jun-21 7:24
professionalChris Losinger11-Jun-21 7:24 
if you've ever needed any kind of set/map/dictionary collection, it's probably using a self-balancing binary tree under the hood.
GeneralRe: Never Pin
Daniel Pfeffer13-Jun-21 23:49
professionalDaniel Pfeffer13-Jun-21 23:49 
GeneralNope. Pin
OriginalGriff6-Jun-21 19:11
mveOriginalGriff6-Jun-21 19:11 
GeneralRe: Nope. Pin
Nelek7-Jun-21 21:17
protectorNelek7-Jun-21 21:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.