My code passes the sample case but fails on the test cases , please help ,
my code - https://ide.codingblocks.com/s/133870
Gold Grid Wrong answer
Hello @18bansal.aman can you please provide me the link of question on Hacker Blocks so that i can run your code for myself??
Thank You
hackerblocks isnt working
You approach is correct i guess , but for larger test cases its giving wrong output.
You can see my implementation and can check where you are going wrong.
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.