Leetcode 1446. Consecutive Characters | Hello Interview