Topic: Stack Problem / Level: advanced

Problem: Create a stack-based algorithm to solve the problem of finding the longest substring with distinct characters.

Run the code to see the output here...