WHY TEST CASE IS WRONG?

I have tested some case manually what edge case i’m missing

@imrsachin,
Input:
3
3
2
1

Correct output:
#1 : 5
#2 : 3
#3 : 2

your output:
#3 : 5
#2 : 3
#1 : 2

it is clear in question that first are number’s i think they are corresponding to which digit we are finding

@imrsachin,
No buddy.

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.

1 Like