Capgemini Interview Question

Find a node in linklist and display the list index