Topic: Two Pointer Problem / Level: advanced

Problem: Find the smallest subarray that contains all distinct characters from another string using the two-pointer technique.

Run the code to see the output here...