find whether pythagorous triplet exist in an array or not
Answers
Answered by
1
Answer:
Pythagorean Triplet in an array. Given an array of integers, write a function that returns true if there is a triplet (a, b, c) that satisfies a2 + b2 = c2. There is a Pythagorean triplet (3, 4, 5). There is no Pythagorean triplet
Step-by-step explanation:
.
Similar questions