What is wrong in this code
hi @ayush.18,
your code was getting was getting stuck when you moved all X to the end,
if your all X are moved to the end then you have to simply return.
Please let me know if there is any other doubt.
hey, can you please tell me what to edit in my code.
hi @ayush.18,
Sorry for the late reply.
I have already corrected your code.
In this code i have marked some comments also.
your code was getting was getting stuck when you moved all X to the end,
if your all X are moved to the end then you have to simply return.
Please let me know if there is any other doubt.