Tekion interview question

reverse linked list, two sum