OK
Let the series be a,a+d,a+2d .................
when n=7
S7 < 0
7/2 ( 2a+6d) < 0
a+3d<0
means the 4th term < 0
when n= 11
S11>0
11/2(2a+10d)>0
a+5d>0
the 6th term >0
It means that till 4th term evry term must be -ve n after 6th term +ve . 5th cud be anything.
thus a must be some -ve number.
if 5th term is = 0
then max no of terms = 10
if 5th term>0
max no of terms =9
if 5th <0
max no of term= 11
since those 11 cud be anywhere in the series
max no of terms = 12
if it is more than that the fourth term will become more than 0
thus answer =12