Find the index of the first occurrence in a string python leetcode July 8, 2019 16 32 64 128 Find the index of the first occurrence in a string leetcode solution python