I was trying out this question from ICPC Asia : Gwalior-Pune Onsite replay 2018, Even Odd Sub-sequence (EOSUBSEQ).
It looks like a straight up DP question, it would be great if someone could point out an editorial or maybe any resource which could help in understanding this question better?