Running in Vs code but not working in leetcode
In Leetcode my code is not getting accepted as it is giving wrong output but in vs code my code is working perfectly and giving the right answer.I can’t seem to find what is wrong.
In Leetcode my code is not getting accepted as it is giving wrong output but in vs code my code is working perfectly and giving the right answer.I can’t seem to find what is wrong.