DE Shaw

1 DSA problems asked in DE Shaw coding interviews

0 Easy
1 Medium
0 Hard
​

1 problem

Sliding Window
1
Number of Substrings Containing All Three Characters
Medium

Given a string `s` consisting only of the characters `a`, `b` and `c`, return the number of substrings containing at least one occurrence of each of these three characters.