Algorithms and Data Structures DSBA 2026/2027: различия между версиями

Материал из Wiki - Факультет компьютерных наук
Перейти к навигации Перейти к поиску
Нет описания правки
 
(не показано 7 промежуточных версий 2 участников)
Строка 57: Строка 57:
= Lectures =
= Lectures =


Lectures are held on [Saturday, 14:40-17:40].
Lectures are held on '''Saturday, 14:40-17:40'''.


== Lecture Materials ==
== Lecture Materials ==


'''[дата]'''
'''Sep 5'''


* [тема 1]
* Exact string matching, naive algorithm, the preprocessing approach, Z-algorithm, the simplest linear-time algorithm
* [тема 2]
* The Knuth-Morris-Pratt algorithm
* [тема 3]


''Bibliography'': [источник, главы]
''Bibliography'': Gusfield, ch. 1, 2, 3


'''[дата]'''
'''Sep 12'''
 
* The Boyer-Moore algorithm
* The Aho-Corasick algorithm
 
''Bibliography'': Gusfield, ch. 2, 3
 
'''Sep 19'''
 
* Suffix trees: basic definition, naive algorithm to build
* Suffix trees: Ukkonen's algorithm
* Suffix trees applications: generalized suffix tree, the longest common substring for two strings, matching statistics
 
''Bibliography'': Gusfield, ch. 5, 6, 7
 
'''Oct 3'''
 
* Suffix arrays: building using suffix tree, exact string matching, building without suffix tree (using radix sort)
* Dynamic programming: the longest common subsequence
''Bibliography'': Gusfield, ch. 7, Cormen, ch. 15
 
'''Oct 10'''
 
* Lecture quiz #1
* Dynamic programming: matrix-chain multiplication, the Levenstein distance
''Bibliography'': Cormen, ch. 15
 
'''Oct 17'''
 
* Greedy algorithms: an activity-selection problem, Huffman codes, the longest increasing subsequence, LCS-problem with greedy approach, the knapsack problem
''Bibliography'': Cormen, ch. 16, Gusfield, ch. 12
 
'''Oct 31'''
 
* Exam Module 1
 
'''Nov 7'''
 
* Graphs, main definitions, representation of graphs
* Breadth-first search, single-source shortest paths in non-weighted graph
* Depth-first search, topological sort, strongly connected components
* Single-source shortest paths, Bellman-Ford algorithm, Dijkstra's algorithm
* All-pairs shortest paths, Johnson's algorithm
''Bibliography'': Cormen, ch. 22, 24, 25
 
'''Nov 14'''
 
* All-pairs shortest paths, "matrix multiplication", Floyd-Warshall algorithm, Johnson's algorithm
* Minimum spanning trees: Prim's algorithm, Kruskal's algorithm
* Disjoint sets: linked list representation, disjoint-set forest
''Bibliography'': Cormen, ch. 21, 23, 25
 
'''Nov 28'''
 
* Maximum flow, Ford-Fulkerson method, Edmonds-Karp algorithm
* Push-relabel algorithm
* Maximum bipartite matching, Ford-Fulkerson method, Kuhn's algorithm
* Text compression, models: static, semistatic, adaptive, symbolwise models, dictionary models
* Static, semistatic and adaptive Huffman codes, tree serialization
''Bibliography'': Cormen, ch. 26, Witten, ch. 1, 2, Atallah, ch. 12


* [тема 1]
* [тема 2]


''Bibliography'': [источник, главы]


== List of topics for exam ==
== List of topics for exam ==


* [тема 1]
* Exact string matching, naive algorithm, the preprocessing approach, Z-algorithm, the simplest linear-time algorithm, Knuth-Morris-Pratt algorithm, Boyer-Moore algorithm, Aho-Corasick algorithm
* [тема 2]
* Suffix trees: basic definition, naive algorithm to build, Ukkonen's algorithm
* [тема 3]
* Suffix trees applications: generalized suffix tree, the longest common substring for two and more strings, matching statistics
* Suffix arrays: building using suffix tree, exact string matching, building without suffix tree (using radix sort)
* Dynamic programming: matrix-chain multiplication, the longest common subsequence, the Levenstein distance, knapsack problem
* Greedy algoirthms: an activity-selection problem, Huffman codes, the longest increasing subsequence, LCS-problem with greedy approach, knapsack problem

Текущая версия от 17:26, 28 ноября 2026

About

This page contains basic information for the course Algorithms and Data Structures 2 in 2026/2027 academic year at Bachelor’s Programme in Data Science and Business Analytics (DSBA).

Teachers and assistants

Group 251 252 253 254 255 256
Lecturer Nikita Makarov
Seminar Instructor Vladimir Kurenkov Anton Shnipov Anna Pronina Simon Kondakov
Teaching Assistant Leonid Pavlov Maria Sudarikova Dmitriy Gusev Anastasia Bronnikova Maria Samoylova Yana Pavlova
Lecturer Assistant Yana Arseneva

Grading

You may find your grades.

Formula

Final Grade = E * 0.4 + HW * 0.2 + Q * 0.2 + S * 0.2

  • E - exam grade: rational number [0, 10] = sum of the grade for the oral and written parts, out of 5 each
  • HW - homework grade: rational number [0, 10]
  • Q - lecture quizzes grade: rational number [0, 10]
  • S - seminar practice grade: rational number [0, 10]

rounding: each element in the formulae is rounded up

Plagiarism policy

If plagiarism is detected, the assessment element will be assigned a score of 0.

If the student is suspected of preparing the task not on his own, the teacher has the right to initiate additional verification or defense of this particular assessment element. Then such an assessment element will be graded based on the additional verification or the defense.

Home assignments

Contest Deadline Topic

Lectures

Lectures are held on Saturday, 14:40-17:40.

Lecture Materials

Sep 5

  • Exact string matching, naive algorithm, the preprocessing approach, Z-algorithm, the simplest linear-time algorithm
  • The Knuth-Morris-Pratt algorithm

Bibliography: Gusfield, ch. 1, 2, 3

Sep 12

  • The Boyer-Moore algorithm
  • The Aho-Corasick algorithm

Bibliography: Gusfield, ch. 2, 3

Sep 19

  • Suffix trees: basic definition, naive algorithm to build
  • Suffix trees: Ukkonen's algorithm
  • Suffix trees applications: generalized suffix tree, the longest common substring for two strings, matching statistics

Bibliography: Gusfield, ch. 5, 6, 7

Oct 3

  • Suffix arrays: building using suffix tree, exact string matching, building without suffix tree (using radix sort)
  • Dynamic programming: the longest common subsequence

Bibliography: Gusfield, ch. 7, Cormen, ch. 15

Oct 10

  • Lecture quiz #1
  • Dynamic programming: matrix-chain multiplication, the Levenstein distance

Bibliography: Cormen, ch. 15

Oct 17

  • Greedy algorithms: an activity-selection problem, Huffman codes, the longest increasing subsequence, LCS-problem with greedy approach, the knapsack problem

Bibliography: Cormen, ch. 16, Gusfield, ch. 12

Oct 31

  • Exam Module 1

Nov 7

  • Graphs, main definitions, representation of graphs
  • Breadth-first search, single-source shortest paths in non-weighted graph
  • Depth-first search, topological sort, strongly connected components
  • Single-source shortest paths, Bellman-Ford algorithm, Dijkstra's algorithm
  • All-pairs shortest paths, Johnson's algorithm

Bibliography: Cormen, ch. 22, 24, 25

Nov 14

  • All-pairs shortest paths, "matrix multiplication", Floyd-Warshall algorithm, Johnson's algorithm
  • Minimum spanning trees: Prim's algorithm, Kruskal's algorithm
  • Disjoint sets: linked list representation, disjoint-set forest

Bibliography: Cormen, ch. 21, 23, 25

Nov 28

  • Maximum flow, Ford-Fulkerson method, Edmonds-Karp algorithm
  • Push-relabel algorithm
  • Maximum bipartite matching, Ford-Fulkerson method, Kuhn's algorithm
  • Text compression, models: static, semistatic, adaptive, symbolwise models, dictionary models
  • Static, semistatic and adaptive Huffman codes, tree serialization

Bibliography: Cormen, ch. 26, Witten, ch. 1, 2, Atallah, ch. 12


List of topics for exam

  • Exact string matching, naive algorithm, the preprocessing approach, Z-algorithm, the simplest linear-time algorithm, Knuth-Morris-Pratt algorithm, Boyer-Moore algorithm, Aho-Corasick algorithm
  • Suffix trees: basic definition, naive algorithm to build, Ukkonen's algorithm
  • Suffix trees applications: generalized suffix tree, the longest common substring for two and more strings, matching statistics
  • Suffix arrays: building using suffix tree, exact string matching, building without suffix tree (using radix sort)
  • Dynamic programming: matrix-chain multiplication, the longest common subsequence, the Levenstein distance, knapsack problem
  • Greedy algoirthms: an activity-selection problem, Huffman codes, the longest increasing subsequence, LCS-problem with greedy approach, knapsack problem