Further reading: [CLRS] Chapters 1, 2 and 3.
Video recorded during the lecture. Accessible until FEB 15.
Video recorded during the lecture. Accessible until FEB 22.
Counting sort and radix sort.
Video recorded during the lecture. Accessible until MAR 1.
Running time of some algorithms.
Arrays, queues, stacks, linked lists (practice).
Video recorded during the lecture. Accessible until MAR 8.
The classes P and NP. NP-completeness. Examples.
Dynamic programming: Fibonacci numbers and Knapsack (other examples in the
practice).
Linked lists -- basics. Variants: in the practice.
How to store a graph?
Breadth-first search (BFS), idea, the core part of the algorithm.
Video recorded during the lecture. Accessible until MAR 15.
Breadth-first search (BFS): deciding connectivity. Implementation, running time. Determining the components. finding a spanning tree, finding shortest paths, (deciding bipartiteness: in Practice).
Deciding connectedness needs cn^2 or m steps.
BFS on directed graphs, strongly connected components.
Min-cost spanning tree. Prim's algorithm. Implementation, running time.
Video recorded during the lecture. Accessible until MAR 22.
Implementation with heaps. DECREASE-KEY in heaps. d-ary heaps.
Dijkstra's algorithm for shortest paths. Implementations, running time. Two applications: safest path, widest path.
Video recorded during the lecture. Accessible until MAR 29.
Acyclic digraph (DAG), topological order. PERT. Shortest paths in DAGs.
Conservative weighting of directed graphs. The Bellmann--Ford algorithm.
Potential, detecting negative cycles.
All-pairs shortest paths (Floyd-Warshall, Johnson).
Depth first search (DFS) and its applications.
Binary search trees, SEARCH and INSERT.
Video recorded during the lecture. Accessible until APR 19.
DELETE in binary search trees.
AVL trees.
Inner procedure: ROTATION.
INSERT into an AVL tree.
Basics of computational theory, Turing-machines, decidability and undecidability.
Video recorded during the lecture. Accessible until APR 26.
P and NP. Polynomial reduction, theorem of Cook, NP-completeness. Examples. co-NP, N\cap co-NP, the problem of integer factorization.
The basics of hashing, good hash functions, collisions.
Chaining.
Hash tables, open addressing, linear hashing.
Universal and Cuckoo hashing.
Video recorded during the lecture. Accessible until MAY 3.
Approximation algorithms.
Definitions. Traveling Salesman Problem (TSP), Steiner tree.
FPTAS for Knapsack.
Video recorded during the lecture. Accessible until MAY 10.
FPT: Fixed Parameter Tractable problems.
Kernel, Vertex-Cover and Exact-Path.
Video recorded during the lecture.