Click here to Skip to main content
15,923,557 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: figured out something cool, a specialization for integer binary trees Pin
W Balboos, GHB2-Jan-20 4:33
W Balboos, GHB2-Jan-20 4:33 
GeneralRe: figured out something cool, a specialization for integer binary trees Pin
honey the codewitch2-Jan-20 4:36
mvahoney the codewitch2-Jan-20 4:36 
GeneralRe: figured out something cool, a specialization for integer binary trees Pin
kalberts2-Jan-20 7:34
kalberts2-Jan-20 7:34 
GeneralRe: figured out something cool, a specialization for integer binary trees Pin
honey the codewitch2-Jan-20 7:41
mvahoney the codewitch2-Jan-20 7:41 
GeneralRe: figured out something cool, a specialization for integer binary trees Pin
Jörgen Andersson2-Jan-20 5:51
professionalJörgen Andersson2-Jan-20 5:51 
GeneralRe: figured out something cool, a specialization for integer binary trees Pin
honey the codewitch2-Jan-20 5:53
mvahoney the codewitch2-Jan-20 5:53 
GeneralRe: figured out something cool, a specialization for integer binary trees Pin
Shuqian Ying2-Jan-20 8:59
Shuqian Ying2-Jan-20 8:59 
GeneralRe: figured out something cool, a specialization for integer binary trees Pin
Daniel Pfeffer3-Jan-20 0:02
professionalDaniel Pfeffer3-Jan-20 0:02 
With a balanced tree, the 2*I, 2*i+1method is better. With a sparse or an unbalanced tree, having pointers is more efficient.

This idea simply replaces pointers with indexes in an array.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.

GeneralRe: figured out something cool, a specialization for integer binary trees Pin
kalberts2-Jan-20 6:12
kalberts2-Jan-20 6:12 
GeneralRe: figured out something cool, a specialization for integer binary trees Pin
honey the codewitch2-Jan-20 6:13
mvahoney the codewitch2-Jan-20 6:13 
GeneralComing back to work after a long vacation feels weird. Pin
Maximilien2-Jan-20 2:59
Maximilien2-Jan-20 2:59 
GeneralRe: Coming back to work after a long vacation feels weird. Pin
musefan2-Jan-20 3:02
musefan2-Jan-20 3:02 
GeneralRe: Coming back to work after a long vacation feels weird. Pin
OriginalGriff2-Jan-20 3:13
mveOriginalGriff2-Jan-20 3:13 
GeneralRe: Coming back to work after a long vacation feels weird. Pin
musefan2-Jan-20 3:57
musefan2-Jan-20 3:57 
GeneralRe: Coming back to work after a long vacation feels weird. Pin
honey the codewitch2-Jan-20 4:27
mvahoney the codewitch2-Jan-20 4:27 
GeneralRe: Coming back to work after a long vacation feels weird. Pin
OriginalGriff2-Jan-20 4:37
mveOriginalGriff2-Jan-20 4:37 
GeneralRe: Coming back to work after a long vacation feels weird. Pin
honey the codewitch2-Jan-20 4:38
mvahoney the codewitch2-Jan-20 4:38 
GeneralRe: Coming back to work after a long vacation feels weird. Pin
GuyThiebaut2-Jan-20 3:03
professionalGuyThiebaut2-Jan-20 3:03 
GeneralRe: Coming back to work after a long vacation feels weird. Pin
Maximilien2-Jan-20 4:20
Maximilien2-Jan-20 4:20 
GeneralRe: Coming back to work after a long vacation feels weird. Pin
kmoorevs2-Jan-20 3:24
kmoorevs2-Jan-20 3:24 
GeneralRe: Coming back to work after a long vacation feels weird. Pin
dandy722-Jan-20 3:55
dandy722-Jan-20 3:55 
GeneralRe: Coming back to work after a long vacation feels weird. Pin
Maximilien2-Jan-20 4:23
Maximilien2-Jan-20 4:23 
GeneralRe: Coming back to work after a long vacation feels weird. Pin
bVagadishnu2-Jan-20 8:47
bVagadishnu2-Jan-20 8:47 
GeneralRe: Coming back to work after a long vacation feels weird. Pin
honey the codewitch2-Jan-20 4:26
mvahoney the codewitch2-Jan-20 4:26 
GeneralRe: Coming back to work after a long vacation feels weird. Pin
Chris Maunder2-Jan-20 8:54
cofounderChris Maunder2-Jan-20 8:54 

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.