1180: Count Substrings with Only One Distinct Letter

Problem Statement