1180. Count Substrings with Only One Distinct Letter - Solutions and Explanation | Vultr Docs