Topic: Two Pointer Problem / Level: intermediate

Problem: Find all triplets in an array that form an arithmetic progression using two pointers.

Run the code to see the output here...