Topic: Hashing Problem / Level: intermediate

Problem: Given a string, write a program to find the longest substring with exactly one repeating character using hashing.

Run the code to see the output here...