Syllabus for Algorithms and Data Structures II

Algoritmer och datastrukturer II

A revised version of the syllabus is available.


  • 5 credits
  • Course code: 1DL231
  • Education cycle: First cycle
  • Main field(s) of study and in-depth level: Computer Science G2F
  • Grading system: Fail (U), Pass (3), Pass with credit (4), Pass with distinction (5)
  • Established: 2012-03-08
  • Established by: The Faculty Board of Science and Technology
  • Revised: 2013-04-24
  • Revised by: The Faculty Board of Science and Technology
  • Applies from: week 24, 2013
  • Entry requirements: 60 credits including at least 15 credits in mathematics and 30 credits in computer science including Algorithms and Data Structures I.
  • Responsible department: Department of Information Technology

Learning outcomes

In order to pass, the student must be able to

  • use the notation of asymptotic growth of functions and be able to use this notation to describe the complexity of algorithms and computational problems
  • derive equations for the complexity of algorithms and solve such equations
  • work with common algorithmic techniques such as dynamic programming, greedy algorithms, etc.
  • deal with basic problems using graph algorithms, string matching and flow networks.
  • define the complexity classes P and NP, and discuss the open question whether P=NP.
  • present and discuss topics related to the course content orally and in writing with a skill appropriate for the level of education.


Asymptotic notation and recurrence equations. Data structures for disjoint sets. Dynamic programming. Greedy algorithms. Graph algorithms such as shortest path and minimum spanning tree. Maximum flow problem in flow networks. Algorithms for string matching. Theory of intractable problems.


Lectures, lessons, and exercises.


Written exam (3 credits). Assignments (2 credits).

Reading list

Reading list

Applies from: week 27, 2017

  • Cormen, Thomas H. Introduction to algorithms

    3. ed.: Cambridge, Mass.: MIT Press, cop 2009

    Find in the library


  • Kleinberg, Jon; Tardos, Éva Algorithm design

    Boston, Mass.: Pearson/Addison-Wesley, cop. 2006

    Find in the library

Reading list revisions