Sorted And Rotated Minimum Leetcode Javascript Questions