Insights From Problem: Codeforces 1370D: Odd-Even Subsequence (View all problems)
- If you are unsure how to compute the answer, consider binary search. Try seeing if a certain value of the answer is possible. by mathmastersd
- When choosing elements from a list whose indices MUST have certain separation, consider using dynamic programming (DP). by mathmastersd
- Be careful of distinguishing the length of a subsequence being even from the length of the ORIGINAL sequence being even. by mathmastersd
Page 1 of 1.
View links to all pages
1About • Privacy Notice • Rules • Problems list • Journal • Your profile • GitHub
Moon Symbol icon by Icons8 • Sun icon by Icons8 • Emojis from Twemoji by Twitter under CC by 4.0