Warning
This page is located in archive.

Schedule at FEE Students of ePAL Upload system Forum


1st week

Introduction and repetitions

  • Asymptotic complexity recap. Training problems are here.
  • Graphs and their representations, BFS, DFS. Solve example exam problems. Additional training problems can be found here.
  • For more thorough or necessary basic acquaintance with the related topics consult the book Problems on Algorithms. Student are expected to be able to solve any problem marked by one cap in chapters 2. and 3. both during the semester and at the exam. We recommend problems 64. - 66., 144. - 148., 163. - 170. as an easy start.

Upload system

  • An introduction to Upload system, 0-th programming optional (not graded) task, its specification can be found here.
    Write a program that solves the task. Upload it and check how the system asseses it. Follow strictly the rules specified at Upload System.
  • The first homework problem assignment is here.

Exam topics

  • Asymptotic notations, asymptotic complexity, graph representations.

2nd week

  • Spanning trees and minimum spanning trees of graphs: example problems. More problems for training here.
  • The second homework problem assignment is here.

Exam topics

  • Boruvka's, Kruskal's, Prim's algorithms. Their implementation and data structures, ie. priority queues and Union_Find.
  • Prim's algorithm without a queue
  • Various implementation of Union-Find operations.

3rd week

  • Directed graphs, strongly connected components, Eulerian graphs example problems .
  • Additional problems for training here

Exam topics

  • Eulerian graph (directed and undirected), Eulerian path/cycle, method of finding them.
  • Strong and weak connectivity, strong and weak components, graph condensation. Algorithms which find strong components or produce a condensation.
  • Topological ordering of a graph using DFS or using gradual roots/leaves removal.

4th week

Exam topics

  • The heap rule. Standard operations on heaps. Binary, d-ary and binomial heap.
  • Binary and d-ary heap implemented in an array.
  • Fibonacci heap, amortized complexity of its operations.

5th week

Exam topics

  • Graph isomorphism, definition, invariants, algorithm for finding all isomorphisms.
  • Isomorphism and certificates of undirected trees, computing the certificate for a tree and reconstructing a tree from a certificate.

6th week

  • Combinatorial generation of subsets, permutations and their ranks. Example problems.
  • Additional problems for training here

Kreher, Stinson: Combinatorial Algorithms, notes:

Exam topics

  • Combinations, variations, permutations with or without repetition, definitions, formulas. Binomial coefficients, their basic relations, Pascal triangle.
  • Operations(functions) Rank and UnRank for ordered permutations and k-element subsets of given set.
  • Gray code - definition, properties, operations Rank and UnRank.

7th week

Primes and pseudorandom numbers – Example problems .

Exam topics

  • Generation of random numbers and prime numbers. Their properties. Prime factorization, exact and randomized primality tests.

8th week

Exam topics

  • Deterministic and non-deterministic finite automaton (DFA and NFA), definition. Languages accepted by finite automata.
  • Algorithm for transforming NFA to DFA, simulation of NFA work without transformation to DFA. Epsilon-transitions and their removal from an automaton.
  • Regular expressions. Definition, algorithm for transformation of regular expression to NFA.

9th week

  • Approximate pattern matching and language operations. Example problems
  • Text Searching. Additional problems for training here

Exam topics

  • Construction of NFA for pattern matching. Impelementation of NFA/DFA by a table or by code.
  • Hamming and Levenshtein distance. NFA/DFA for search of substrings which have nonzero distance from a given pattern.

10th week

Exam topics

  • Finding dictionary entries in a text with the help of dictionary automaton.
  • Number of states of dictionary NFA, DFA.
  • Approximate text search based on previous methods.

11th week

Exam topics

  • Skip list
  • Search trees B and B+. Asymptotic complexity of particular search tree operations.

12th week

  • 2-3-4 trees and B+ trees. Additional problems for training here

Exam topics
2-3-4 trees and B+ trees. Asymptotic complexity of particular search tree operations.


13th week

Exam topics
KD trees, search for Nearest Neighbour in 2D.


14th week

In preparation

Exam topics
* Trie, Patricia trie.


courses/ae4m33pal/seminars/start.txt · Last modified: 2016/01/13 15:57 by berezovs