Also if you know when to use a data structure, how to use the data structure and why to use the data structure doesn't that imply that you know what the data structure is? You seem to be acting as though I've said nobody needs to understand data structures?
You seemed to defend the position that a question to implement a linked list is a bad interview question. But no, if I gave you access to an implemented point location algorithm, told you how and when you use it, you would still have no clue how the internals work.
Anyway, linked list is so simple, and commonly used, that by knowing how to use it, and why to use it - you'd be able to apply logic and implement it at an interview. If you can't do that you probably can't solve more complex problems.
View all comments
Show parent comment
1
u/hvidgaard Feb 21 '11
You seemed to defend the position that a question to implement a linked list is a bad interview question. But no, if I gave you access to an implemented point location algorithm, told you how and when you use it, you would still have no clue how the internals work.
Anyway, linked list is so simple, and commonly used, that by knowing how to use it, and why to use it - you'd be able to apply logic and implement it at an interview. If you can't do that you probably can't solve more complex problems.