Unclear What All Testcases Fail

I’m unable to understand what all test cases might be failing for the code I have written. If possible, can a few of those test cases be provided, or an explanation as to why my code may not be giving the correct answer.
Thanks!

Hey @manpreet1130
Your logic is little bit incorrect
Follow this https://youtu.be/XR_pnk0MfVg