In question ‘Pythagoras Triplet’, my solution couldn’t pass one test case. Please let me know, what i did wrong?
Test Case - Wrong. Reason?
Hello @gaurisha as the test cases are larger so that is why your code is not passing all the test cases.
but your approach is not that optmised :
Here for your reference i am attaching the code:
if you have any doubt you can ask here:
please see this appraoch.
Happy Learning!!
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.