Wrong test case given wrong wrong please help


#1

A : [ 0, 0, 1, 0, 2, 1 ]
my answer 0 2 1 2
expected 0 2 1 5
how is this possible


#2

indices shoud not be same