Re:Interesting but lesser known data structures
by earino on Thursday March 24, 2011 @11:51AM
(#2364554)
huge point. Nothing like seeing someone hand-implement (poorly) a balanced tree.. and usually be very proud of it.
Re:Interesting but lesser known data structures
by Trey-Jackson on Thursday March 24, 2011 @11:56AM
(#2364577)
That's a fair point.
Though another way to avoid making the mistakes is to not invent data structures. That's what libraries are for, and anyone not using a library data structure should be able to defend why they're not. Odds are, they've got no chance of writing something better than what the libraries provide (or they'd be a library writer and already know these things).
Absolutely, and familiarity with these data structures is what's required to prevent these mistakes. I think a good understanding of these is more likely to prevent one from using them, or in some cases, "inventing" them.