7
1 1 2 2 2 8 9 , can anyone please help me i’m getting only 87 as good subsequences ,
while the correct answer for it is 91 how ?
my good susbequences are –
odds - 64
evens –
2 -1 +3 =4 total ,68
4 – 16 (68+16) =84
6 — 3 , total =87 ,
where i’m missing other good subsequences ? anyone help please