const numbers = [1,2,3,4,6,7]
get left and right pointer of input array let [left, right] = [0, number.length - 1]