Showing wrong ans for 2 tc

It is incorrect to initialize start with a[1].
Better initialize with 0.