https://ide.geeksforgeeks.org/zCEp5zfRkU
link to the code
@arjun_121
m^2-n^2 , 2mn , m^2+n^2 these will be the 3 sides where third one is hypotenuse and m>n
now try solving it using this
I have used this approach but it failed at certain test cases
The code that I have shared above is based on this approach only
Thanks Sir I solved it