Size of array is 6 but elements in array is 7 how is this possible
6
1 1 1 2 2 3 3
Size of array is 6 but elements in array is 7 how is this possible
6
1 1 1 2 2 3 3
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.