Amazon interview question

Leetcode questions from linkedlist , binary search