i wrote code correct but the given basic test case which is
1 and 4
2 and 3
…as per the logic and given input 3 is coming first and then 2 is going to print so my output is
1 and 4
3 and 2…due to this my program getting wrong in testing the testcases
Test cases getting wrong
@bnikhilsai1998 you have to write the code so that output comes in sorted order as multiple answers are not allowed on hackerblocks till now
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.