How can I find out algorithms for programming contests?

What are the best ways to learn contests programming algorithms like USACO. I need to start learning algorithms since I just got into the silver division. Are there any good books or tutorials to learn algorithms and methods such as Dijkstra's, Dynamic Programming, Flood-fill, etc. In Java and really be able to know how to implement them for problems? Thank you very much for your help!

+5
source share
1 answer
  • PRACTICE! This is the most important point. regularly solve problems in online judges like SPOJ , UVA etc. Solving more problems will familiarize you with the type and format of questions asked at programming competitions. In this way, you will also increase your ability to output your own algorithms and view problems.

  • Get an Introduction to Algorithm, Cormen . This is a great book to study and analyze algorithms and data structures.

+4
source

All Articles