Substrings Of Size Three Leetcode Solutions C