Wrong Test Case :


#1

Comment body goes here.
Test Cases are wrong:
[1,1,3,2,1] for this test case output should be 0 but IB ide shows 1.