what is wrong in the given code it passed the given test case but not any other, what should be improved in this one.
Https://ide.codingblocks.com/s/475323
hello @mahfoozhaque91
there is logical error.
u r break list at k (from starting) but in quest u are asked to append last k element.
check now=>
thanks sir got it .
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.