Hi,
There is more than 1 solution for a given 1 leg in a right-angle triangle.
Ex: if given 60, then both these sets form right angle triangle: (60,80,100),(60,91,109)
I think I solved the problem, but the test case is not matching because it didn’t consider all possible solutions as the correct answers.
I got 2 failed test cases. Can you verify those test cases against my code and check if my solution forms right triangle or not using this website(https://www.mathwarehouse.com/triangle-calculator/online.php) or Pythagoras formula?
If my solution is wrong, then I will unlock test cases to check the issue. But, if it’s right, please consider awarding points to my solution.
Thanks,
Su