Hello All,
I recently came across this question asked in one of Google Tech Interviews.I am not able to think as to how to proceed on this.Any suggestions will be greatly appreciated.
Question-Write code to check whether every element of an array has been visited (you are given a starting position and each position stores a pointer to a subsequent position)