Codeforces Round 1133 (Div. 1, Div. 2) is coming soon! Register
here.
×
"Tricks" I learned while practicing
Translate (AKA immediate implementation problem)
- The problem is obvious that it should just be some data structures
- Just DP, e.g. CF489-D2-F
Converting from brute force
- Sometimes it just works ??? this works especially well if you notice the input is extremely small
- Meet in the middle to be square root smaller CF525-D2-E CF1006-D3-F
- Backtracking to prune states
- Memoization (this is just dp lol)
History