Gap interview question

Basic linked lists and DSA