Pythagorean Triplet

Medium

Given an array of integers, can you write a function that returns True if there is a triplet (a, b, c) within the array that satisfies a^2 + b^2 = c^2?...

Sign in to InterviewQs to view this question

Or

New to InterviewQs? Sign up now.

By proceeding, you agree to our Terms and Conditions and Privacy Policy.

Loading editor...