Topic: Hashing Problem / Level: intermediate

Problem: Write a function to find the longest substring with exactly one repeating character using hashing.

Run the code to see the output here...