Topic: Hashing Problem / Level: beginner

Problem: Implement a function to find the longest substring that contains two distinct characters using hashing.

Run the code to see the output here...