https://medium.com/@mp509300/leetcode-34-find-first-and-last-position-of-element-in-sorted-array-c-e76755a586e5