Microsoft interview question

Basic DSA algorithm, linked list