# FI:IV003 Algorithms II - Course Information

## IV003 Algorithms and Data Structures II

**Faculty of Informatics**

Spring 2024

**Extent and Intensity**- 2/2/0. 3 credit(s) (plus extra credits for completion). Type of Completion: zk (examination).

Taught in person. **Teacher(s)**- prof. RNDr. Ivana Černá, CSc. (lecturer)

RNDr. Nikola Beneš, Ph.D. (seminar tutor)

RNDr. Martin Jonáš, Ph.D. (seminar tutor)

Bc. Martin Kurečka (seminar tutor)

doc. RNDr. Petr Novotný, Ph.D. (seminar tutor)

RNDr. David Klaška (assistant) **Guaranteed by**- prof. RNDr. Ivana Černá, CSc.

Department of Computer Science – Faculty of Informatics

Supplier department: Department of Computer Science – Faculty of Informatics **Timetable**- Tue 16:00–17:50 D2
- Timetable of Seminar Groups:

*N. Beneš*

IV003/02: Tue 18:00–19:50 A318,*M. Kurečka*

IV003/03: Thu 16:00–17:50 B410,*M. Jonáš*

IV003/04: Wed 14:00–15:50 A320,*M. Jonáš*

IV003/2EN_lecture: Wed 10:00–11:50 A217,*I. Černá*, Lecture in English **Prerequisites**- (
**IB002**Algorithms I || PROGRAM ( 1431:N - MA )) && !**IB108**Algorithms II

The course expands on courses IB002 Algorithms and Data Structures I. **Course Enrolment Limitations**- The course is also offered to the students of the fields other than those the course is directly associated with.

The capacity limit for the course is 99 student(s).

Current registration and enrolment status: enrolled:**63**/99, only registered:**1**/99, only registered with preference (fields directly associated with the programme):**0**/99 **fields of study / plans the course is directly associated with**- there are 56 fields of study the course is directly associated with, display
**Course objectives**- The course expands on the introductory course Algortihm Design I. It presents algorithmic concepts without their direct connection to any particular programming language. The aim is to introduce students into design and analysis of advanced algorithms. The course presents advanced techniques of algorithm analysis and a wide spectrum of strategies together with algorithms built up on these strategies. Students are introduced into new data structures which are displayed in a row with algorithms based on them.
**Learning outcomes**- After enrolling the course students are able to:

- actively use and modify advanced graph and string algorithms,

- actively used advanced techniques for designing algorithms (dynamic programming, greedy techniques) for designing algorithms, expain their specific properties and limits,

- actively used and modify advanced dynamic data structures and use them for designing effective algorithsm,

- analyze time complexity and prove correctness of algorithms. **Syllabus**- Advanced design and analysis techniques: dynamic programming, greedy strategies,backtracking. Amortized analysis.
- Advanced data structures: binomial and Fibonacci heaps, data structures for disjoint sets.
- Graph algorithms: Single-Source Shortest Paths (The Bellman-Ford algorithm). All-Pairs Shortest Paths (Shortest paths and matrix multiplication, The Floyd-Warshall algorithm, Johnson's algorithm for sparse graphs). Maximum Flow (The Ford-Fulkerson method, The Push-Relabel method). Maximum bipartite matching.
- String matching: the naive string-matching algorithm, Karp-Rabin algorithm, string matching with finite automata. The Knuth-Morris-Pratt algorithm.

**Literature**- KLEINBERG, Jon and Éva TARDOS.
*Algorithm design*. Boston: Pearson/Addison-Wesley, 2006. xxiii, 838. ISBN 0321372913. URL info

*required literature*- DASGUPTA, Sanjoy, Christos Ch. PAPADIMITRIOU and Umesh Virkumar VAZIRANI.
*Algorithms*. 1st ed. Boston: McGraw-Hill Companies, 2008. x, 320. ISBN 9780073523408. info - CORMEN, Thomas H., Charles Eric LEISERSON and Ronald L. RIVEST.
*Introduction to algorithms*. Cambridge: MIT Press, 1989. xvii, 1028. ISBN 0070131430. info

*recommended literature*- KLEINBERG, Jon and Éva TARDOS.
**Teaching methods**- Lectures and seminars. Students are required to solve given algorithmic problems.
**Assessment methods**- The course has a form of a lecture with a seminar. During the term students separately solve sets of algorithmic problems. The course is concluded by the written exam. A student can attend the final exam providing she/he has acquired given number of points from problem sets.
**Language of instruction**- English
**Follow-Up Courses****Further comments (probably available only in Czech)**- Study Materials

The course is taught annually.

General note: Předmět byl dříve vypisován pod kódem IB108. **Teacher's information**- https://is.muni.cz/auth/el/1433/jaro2023/IV003/index.qwarp

- Enrolment Statistics (recent)

- Permalink: https://is.muni.cz/course/fi/spring2024/IV003