AMD interview question

Find min element in linkedlist