Lower Bound Questions Leetcode Javascript 30