2 ms·
I had a co-worker about ten years ago. His coding question was always: Please implement a linked list for me in any language. He said more than 80% of candida
by throwaway2037 5y ago
I had a co-worker about ten years ago. His coding question was always: Please implement a linked list for me in any language. He said more than 80% of candidates failed. Incredible. LinkedList! I can understand that people will struggle to write a HashMap, BinaryTree, or BinarySearch (always full of bugs), but LinkedList is just crazy.
To be fair, I always get tripped up by the classic interview question of reverse-a-single-linked-list. It's not something I ever do outside an interview!
- kebman 5y agoI had a good laugh from this one xD Thanks for sharing! Almost makes me wonder what's the most "creative" and convoluted way of solving a linked list. "Any language? Well, how do you like this implementation in Whitespace?"