Eaton Interview Question

Write code of Linked list