How come array size is 7

Sizer of array in given example is 7 . i think that in not possible

Hello @himesh.sharma25 in the sample input the array size is given as 6 and not 7.
if you have any doubt you may ask here.

1 1 1 2 2 3 3 why there are 7 elements?

Hello @himesh.sharma25 yes this is wrong. the sample input is for 6 elements only and it will take for the first six elements only and the sample input will be even for only.

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.