by javanix · 17y ago · 0 comments
They are useful skills, and, I think the reason that the section seems "old-school" comes from the proliferation of Java in early CS courses.
Java has most of the algorithms and structures implemented already, and there's no point in anyone redoing it once they find those implementations, so the skills fall out of use.
Yes, it definitely helps to be able to visualize how things are structured, but I think the biggest thing you learn comes from understanding the asymptotic performance of various operations on those data structures.
Without understanding these structures, the fact that one provides much faster lookup, but slower deletes seems totally arbitrary and magical.
(Not sure I'm so much disagreeing with you as elaborating here.)
Yes, that's why all general-purpose languages' standard libraries use the same implementation of the same sorting algorithm for the default sort().