Topic: Language Problem / Level: intermediate

Problem: Write a program to find the longest substring that contains at most two distinct characters.

Run the code to see the output here...