Skip to main content
Before choosing courseDD2352 Algorithms and Complexity 7.5 creditsAdministrate About course

Second course in computer science focusing on algorithms and complexity, more theoretical than DD1352.

Choose semester and course offering

Choose semester and course offering to see information from the correct course syllabus and course offering.

* Retrieved from Course syllabus DD2352 (Spring 2019–)

Content and learning outcomes

Course contents

Principles for construction of algorithms: Decomposition, greedy algorithms, dynamic programming. Algorithm analysis. Probalistic algorithms. Approximation. Selected applications to sets, graphs, arithmetic, and geometry.

Computability and complexity: Reduction. Complexity classes P (polynomial time), NP (non-deterministic polynomial time), and NC (efficiently parallelizable problems). NP-complete problems. Undecidable problems.

Intended learning outcomes

The goals of the course are to give the students

  • the fundamental skills needed to develop algorithms using data structures and analyze their correctness and efficiency,
  • an introduction to complexity theory,
  • explain how one can handle problems with high complexity

so that they will be able to

  • design programs that use computer resources efficiently,
  • realize that there are problems that are impractical or even impossible to solve by a computer.

Course Disposition

No information inserted

Literature and preparations

Specific prerequisites

For single course students:

SF1604 Linear algebra, SF1625 Calculus in one variable, DD1337 Programming, DD1338 Algorithms and Data Structures, SF1630 Discrete Mathematics and SF1901 Probability Theory and Statistics or corresponding courses.

Recommended prerequisites

Basic computer science knowledge equivalent to DD1320, DD1321, DD1325, DD1327, DD2325 or ID1020.

Programming knowledge equivalent to DD1310, DD1312, DD1315, DD1318, or DD1331.

Knowledge of discrete mathematics and probability theory equvalent to for example SF2736/SF1610/SF1631 Discrete Mathematics and SF1901 Probability Theory and Statistics.

Equipment

No information inserted

Literature

Kurslitteratur meddelas senast 4 veckor innan kursstart på kursens hemsida.

Examination and completion

If the course is discontinued, students may request to be examined during the following two academic years.

Grading scale

A, B, C, D, E, FX, F

Examination

  • LAB1 - Laboratory Work, 1,5 hp, betygsskala: P, F
  • MAS1 - Test, 1,5 hp, betygsskala: A, B, C, D, E, FX, F
  • MAS2 - Test, 1,5 hp, betygsskala: A, B, C, D, E, FX, F
  • TEN1 - Examination, 3,0 hp, betygsskala: A, B, C, D, E, FX, F

Based on recommendation from KTH’s coordinator for disabilities, the examiner will decide how to adapt an examination for students with documented disability.

The examiner may apply another examination format when re-examining individual students.

In this course all the regulations of the code of honor at the School of Computer science and Communication apply, see: http://www.kth.se/csc/student/hederskodex/1.17237?l=en_UK.

Opportunity to complete the requirements via supplementary examination

No information inserted

Opportunity to raise an approved grade via renewed examination

No information inserted

Examiner

Profile picture Per Austrin

Ethical approach

  • All members of a group are responsible for the group's work.
  • In any assessment, every student shall honestly disclose any help received and sources used.
  • In an oral assessment, every student shall be able to present and answer questions about the entire assignment and solution.

Further information

Course web

Further information about the course can be found on the Course web at the link below. Information on the Course web will later be moved to this site.

Course web DD2352

Offered by

EECS/Computer Science

Main field of study

Computer Science and Engineering

Education cycle

Second cycle

Add-on studies

DD2440 Advanced Algorithms, DD2441 Seminars in Theoretical Computer Science, DD2446 Complexity Theory, and DD2458 Problem Solving and Programming under Pressure.

Contact

Per Austrin, e-post: austrin@kth.se

Supplementary information

This course has replaced DD2354 Algorithms and Complexity.

Only one of the following courses can be counted in your degree: 2D1352/DD1352, 2D1354/DD2354, 2D1353, DD2352.

In this course, the EECS code of honor applies, see:
http://www.kth.se/en/eecs/utbildning/hederskodex