[LC] Add solution to search insert position.