my sol : https://ide.codingblocks.com/s/292638
can u pls tell where my implementation is going wrong ??
not able to figure out the error even after debugging the sol 2-3 times !
my sol : https://ide.codingblocks.com/s/292638
can u pls tell where my implementation is going wrong ??
not able to figure out the error even after debugging the sol 2-3 times !
Hey Hi,
Implementation of your program is going wrong in function HLD & also it will give you run time error for test cases greater than 5.
I’ll suggest you to try it again. If it won’t get accepted then i can provide you my working implementation.
Thank You.
ok, lemme try it again, i’ll tell u my status by tomorrow or day after tomorrow
btw is the implementation is slightly wrong in the HLD fn or my logic is incorrect ?
i guess it would be ?
Implementation is little bit wrong saarthak , but i know you will figure it out cause it is quite minor 
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.