AI Features

Count Substrings with Only One Distinct Letter

Try to solve the Count Substrings with Only One Distinct Letter problem.

Statement

Given a string s ...