Pythagorean Triplets

 This problem requires you to find the Pythagorean triplets of an array.

Coded in C++ and Python.