ServiceNow interview question

Leetcode questions easy and medium. (Arrays, linkedlist, binary search)