J
jamihuq
Hello,
I got an interview question and didn't understand a concept being asked
for. Here is the question:
Write a function that would: return the 5th element from the end in a
singly linked list of integers, in one pass, and then provide a set of
test cases against that function.
What does "in one pass" mean and can you give an example?????
Thanks
Jami
I got an interview question and didn't understand a concept being asked
for. Here is the question:
Write a function that would: return the 5th element from the end in a
singly linked list of integers, in one pass, and then provide a set of
test cases against that function.
What does "in one pass" mean and can you give an example?????
Thanks
Jami