Find First Occurrence in String
Given two strings s and t, return the index of the first occurrence of t within s if it exists; otherwise, return -1.
Given two strings s and t, return the index of the first occurrence of t within s if it exists; otherwise, return -1.