Cpp String Find Substring Leetcode Problem 10111