Assume that the referencelist references the last node of a circular linked list like the one in Figure. Write a loop that searches for an item in the list and if found, returns its position. If it is not found, return -1. Assume that the node referenced bylist .next is the node in the first position.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.