Can u tell me why my code fails ?
problem link>>
My code>>
Can u tell me why my code fails ?
problem link>>
My code>>
helllo @joshisanjay8467
your code is correct try on other platforms.
here i think their platform is not able to validate multiple correct solution.
thats why they have given this note->
Note - There may be multiple nodes in the same row and same column. In such a case, sort these nodes by their values.
sort each output column and then try to print.
also pls refrain from asking doubts of other such platforms.
I tried to do sorting but still couldn’t solve it. Well I thought doubt is doubt but I can ask from Leetcode and Interviewbit right ???
exaclty same problem is available on hackerblocks u can try.
See some issues are platform dependent so it cant be solved by someone who is not familiar with platform .
for example here they are saying to sort it but on sortng it is showing wrong result so that makes it ambigous and can be solved only by someone who have worked with their platform before.
depends on TA , atleast i take doubt from these platforms.
well I only use leetcode and interviewbit only but sometimes , contests I go to other but will remember this and will only ask when logic doesn’t strike me. Thank you for your response Aman bhaiya and one thing more bhaiya should we practice puzzles too ?
yeah u should ,some companies do ask puzzel in their f2f round
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.