Visa Inc. Interview Question

How would you access a linked list node at some arbitrary position 'n' in C++?

Interview Answers

Anonymous

Apr 1, 2013

Because each node contains a pointer to the next node, you would follow node 1 -> node 2 -> ... -> node n.

Anonymous

Apr 14, 2013

Hi I too am interviewing for a similar position at I believe the same location, so could you please tell me how your negotiation process went? Thanks!