3 ms·
I think the original intent of the linked list question was to see if the candidate knew pointers. Implementing in a non pointer language would be trivial and
by base698 10y ago
I think the original intent of the linked list question was to see if the candidate knew pointers. Implementing in a non pointer language would be trivial and definitely not complex.
- Apocryphon 10y agoAre linked lists even a difficult example of pointer use? You don't exactly have to do fancy pointer arithmetic with them. You just have to be a little bit careful when inserting or deleting nodes.
- gpderetta 10y agoYou do need to understand the difference between an object and a refrence to it. Seems trivial bit surprising many programmers seem not to understand it.