Algorithms
Resources:
- add from dbabichev link for patterns.
- add from pyrival
- add from cp algos
Buzz words
BIT, AVL trees, B-trees (used in databses?), Red Black Trees, Segment Trees, A* Search, Dijkstra, Kruskal, Prim algo, Trie. String algorithms TSP, Sprague-Grundy theorem, game theory, normal incomplete games
#TODO these buzz words should be sorted as a content page - maybe use backlinks
Algos
-
guess the algo, p1
-
BFS with smart states p1
-
sliding window with augmented/additional data structure heap + queue, p1
-
order statistic tree, Red Black tree implementation I think
CODE
from sortedcontainers import SortedList
sl.add(num)
sl.bisect_left(num) # get order statistic
sl.remove(num)
Children
- Algebra
- Combinatorics
- Data Structures
- Dynamic Programming
- Geometry
- Graphs
- Linear Algebra
- Misc
- Numerical Methods
- Python tricks
- Sorting
- String Processing
Backlinks