Does anyone have any tips/tricks to learn algorithms for USACO Silver and to get to gold?
Thanks!
Does anyone have any tips/tricks to learn algorithms for USACO Silver and to get to gold?
Thanks!
In terms of tips, just follow what is given on the main USACO guide website. You can learn the algorithms in any order, but I usually recommend the below:
Practice diligently.
Thanks for your reply! I haven’t learned multisets/maps or vectors so I think I will do that.
You should definitely prioritize learning vectors. There are tons of use cases, especially for graph problems (adjacency lists are just an array of vectors or a vector of vectors), which occur pretty frequently, or just cases when you need a dynamic array (no fixed size). Vectors even sometimes show up in bronze. And yes, after that, learn the others: sets, maps, stacks, queues.
Vectors are like arraylists for Java right?
Yes, I believe arraylists in Java are pretty similar to how vectors work.
Just do more problems…
that’s my only advice;zz)