here is link to my code …
https://ide.geeksforgeeks.org/HG4xLAJFxs
I am getting wring answer on submission…
here is link to my code …
https://ide.geeksforgeeks.org/HG4xLAJFxs
I am getting wring answer on submission…
hey I have written the code just want to know one test case on which I am getting wrong answer…
Hello @kaushikjatin,
Your code is in java and i am a C++ TA.
But, i can help by sharing the code i have written in C++:
It passes all the test cases.
Let me know if you still faces any issue.