finds the index of a given substring if it exists, otherwise returns -1.
-
Updated
Nov 21, 2021 - Java
finds the index of a given substring if it exists, otherwise returns -1.
To associate your repository with the leetcode-strstr topic, visit your repo's landing page and select "manage topics."