J.P. Morgan interview question

questions based on linked lists