[LC] Add solution to search for a range.