Substrings Of Size Three Leetcode Contest