Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rajvijen/1bf08f9626dbb381279c811fbafe3bcf to your computer and use it in GitHub Desktop.
Save rajvijen/1bf08f9626dbb381279c811fbafe3bcf to your computer and use it in GitHub Desktop.

Awesome Resources:

  1. Hello 2015:
  1. Segment Trees:
  1. Graph Algorithms: http://codeforces.com/blog/entry/16221
  2. DS:
  1. List of algos: http://codeforces.com/blog/entry/13529
  2. Policy Based DS: http://codeforces.com/blog/entry/11080
  3. Policy Based DS 2: http://codeforces.com/blog/entry/13279
  4. Ordered Set:
  1. Fenwick Tree:
  1. Counting Inversions: http://pavelsimo.blogspot.co.uk/2012/09/counting-inversions-in-array-using-BIT.html

  2. Tries: https://discuss.codechef.com/questions/15797/understanding-trie-and-its-applications

  3. C++ implementations: https://codesea.wordpress.com/code-library/

  4. EMAXX: http://e-maxx.ru/algo/

  5. Game of Nim http://codeforces.com/blog/entry/3657

  6. HLD: http://blog.anudeep2011.com/heavy-light-decomposition/ http://codeforces.com/blog/entry/12239 http://wcipeg.com/wiki/Heavy-light_decomposition

  7. Binary Search: http://codeforces.com/blog/entry/9901

  8. DP: Bitmask DP: http://codeforces.com/blog/entry/337 Bitmask DP: http://www.ugrad.cs.ubc.ca/~cs490/sec202/notes/dp/DP%202.pdf DP on Trees: https://threads-iiith.quora.com/Dynamic-Programming-on-Trees-Tutorial Optimization: http://codeforces.com/blog/entry/8219 Types: http://codeforces.com/blog/entry/325

  9. Sparse Table: https://mayanknatani.wordpress.com/2013/07/15/range-minimum-query/

  10. Link/Cut Tree: http://www.cs.cmu.edu/~avrim/451f12/lectures/lect1009-linkcut.txt

  11. Coordinate Compression: https://www.quora.com/What-is-coordinate-compression

  12. Fractional Cascading: http://blog.ezyang.com/2012/03/you-could-have-invented-fractional-cascading/ http://e-maxx.ru/algo/segment_tree#18 https://en.wikipedia.org/wiki/Fractional_cascading http://cs.brown.edu/courses/cs252/misc/resources/lectures/pdf/notes08.pdf A bit high level: http://www.umiacs.umd.edu/~joseph/ffc-and-apps-tr.pdf http://www.hpl.hp.com/techreports/Compaq-DEC/SRC-RR-12.pdf

  13. K-Dimensional Tree: http://www.geeksforgeeks.org/k-dimensional-tree/ http://www.geeksforgeeks.org/k-dimensional-tree-set-2-find-minimum/ http://www.geeksforgeeks.org/k-dimensional-tree-set-3-delete/ https://www.cise.ufl.edu/class/cot5520fa09/CG_RangeKDtrees.pdf

  14. Range Trees (Prerequisite-KD Tree) : http://blog.ezyang.com/2012/02/visualizing-range-trees/ http://www.cse.wustl.edu/~taoju/cse546/lectures/Lecture21_rangequery_2d.pdf http://www.cs.uu.nl/docs/vakken/ga/slides5b.pdf

  15. 2-SAT: http://codeforces.com/blog/entry/16205

  16. Meet-in-the-middle: https://www.quora.com/What-is-meet-in-the-middle-algorithm-w-r-t-competitive-programming

  17. Good Website: http://www.infoarena.ro/arhiva-educationala

  18. Treaps: http://habrahabr.ru/post/101818/ http://codeforces.com/blog/entry/3767

  19. Another Good Resource: http://halexv.blogspot.mx/2015/10/competitive-programming-resources.html

  20. Suffix Automaton: https://drive.google.com/file/d/0B0BBPCmtPbIcbVFsSG9qeTI1TjA/view

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment