NEC Corporation Interview Question

Question on solving loops in linked list, chess board puzzles...