There is some problem regarding the test case . because the solution is not getting accepted and i submitted the same code on leet code it gets Accepted there. Please let me know if I’m wrong
Regarding Submission of this problem
@rishabhtyagi.2306 your is correct it’s just that on hackerblocks multiple outputs are not possible. The solution which prints exact same output as setter will only work that’s why leetcode link is given so no issue .
If accepted in leetcode then correct
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.