Implement strStr() Return the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack. Solutions: Swift O(n^2) Installation Run make to build and run Swift files. Or you can run .playground file.