Difficulty: MEDIUM
Categories: 이진 탐색
Source: https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array/