I have submitted my code with exact output but in submissions it showing wrong Answer…can’t get why??
There are multiple hidden testcases which are tested against your submitted code. Your code might be failing somewhere or missing some edge cases. Try debugging your code.
PS: If you are considering only Sample Input/Output as the “only” Testcases given with the problem statement