Pythagorean Triples
Given an integer array, find all Pythagorean triples.
Statement
Given an integer array, find all Pythagorean triples ( + = ), where , and are the array elements.
Level up your interview prep. Join Educative to access 70+ hands-on prep courses.