Microsoft Interview Question

Basic DSA algorithm, linked list