Count Substrings Without Repeating Characters

Asked at NVIDIA · Coding & Leetcode-style Questions · Difficulty: Medium

Given a string `s` consisting only of lowercase English letters, count the number of contiguous substrings that contain **no repeated characters**.

Loading the problem…