code: https://ide.codingblocks.com/s/112227
why is it not giving correct output?
Sorting challenge-grand temple
@dvitiarora
I don’t understand. Your code passed all testcases for the problem Grand Temple without any modifications. If you are trying some other testcases , could you please share them here ?
got it now. i was giving some wrong input.