SANDEEP DIAMOND interview question

Oops, linked lists, bubble sort