Topic: Two Pointer Problem / Level: beginner

Problem: Find the smallest difference between the maximum and minimum element of any subarray using two pointers.

Run the code to see the output here...