Leetcode Find The Index Of The First Occurrence