Comments

For problem E,why the output is 0,not 2 if the input is: 6 7 1 2 2 3 3 4 4 1 4 5 5 6 6 4