Substrings Of Size Three Leetcode 150