Substrings Of Size Three Leetcode Solutions Cpp