Viewing insights from Codeforces 1506F: Triangular Paths that are similar (thus shared) with only this insight from Codeforces 1370D: Odd-Even Subsequence: When choosing elements from a list whose indices MUST have certain separation, consider using dynamic programming (DP). by mathmastersd
- When dealing with even/odd numbers in a problem, see if the moves are designed for numbers to stay odd or stay even. In general, check in a problem if some characteristic is always the same (e.g. number being even). by mathmastersd
- Try to do the moves that are advantageous first to work to a desired result and then finish the rest of the moves to get a desired result (greedy strategy). 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