General Info

Teachers

When and where Monday 8.15-12, Bldg. 303, Aud. 45. The course runs in the DTU spring semester (Jan. 29 to May 8). There is no teaching during the Easter break (March 26 + April 2).

Piazza The course uses Piazza as online forum for announcements and discussions. Sign up here.

Prerequisites Undergraduate level courses in algorithms and data structures (comparable to 02105 + 02110) and mathematical maturity. You should have a working knowledge of algorithm analysis (e.g. asymptotic notation, worst case analysis, amortized analysis, basic analysis of randomized algorithms), data structures (e.g. stacks, queues, linked lists, trees, heaps, priority queues, hash tables, balanced binary search trees, tries), graph algorithms (e.g. BFS, DFS, single source shortest paths, minimum spanning trees, topological sorting), dynamic programming, divide-and-conquer, and NP-completeness (e.g. basic reductions).

Weekplan

The weekplan is preliminary It will be updated during the course. Under each week there is a number of suggestions for reading material regarding that weeks lecture. It is not the intention that you read ALL of the papers. It is a list of papers and notes where you can read about the subject discussed at the lecture.

-->
Week Topics Slides Weekplan Mandatory Material
Integer Data Structures I: Dictionaries, Universal and Perfect Hashing. 1x1 · 4x1 Hashing Mandatory
Integer Data Structures II: Predecessor Problem, van Emde Boas, x-Fast and y-Fast Tries 1x1 · 4x1 Predecessor None
Integer Data Structures III: Nearest Common Ancestor, Range Minimum Query None LCA and RMQ Mandatory
Approximation Algorithms I: Introduction to approximation algorithms, scheduling and TSP. 1x1 · 4x1 Approximation Algorithms I None
  • Algorithm Design, Kleinberg and Tardos, Addison-Wesley, section 11.0, 11.1 (on CampusNet).
  • The Design of Approximation Algorithms, Williamson and Shmoys, Cambridge Press, section 2.4 + 2.3.
Approximation Algorithms II: k-center 1x1 · 4x1 Approximation Algorithms II Mandatory
Geometry: Range Reporting, Range Trees, and kD Trees 1x1 · 4x1 Range Reporting Mandatory
Strings: Dictionaries, Tries, Suffix trees, Suffix Sorting 1x1 · 4x1 Suffix Trees None
Trees: Level Ancestor, Path Decompositions, Tree Decompositions 1x1 · 4x1 Level Ancestor Mandatory
Compression: Lempel-Ziv, Re-Pair, Grammars, Compressed Computation 1x1 · 4x1 Compression None
Distance Oracles Distance Oracles Compression
  • See weekplan
External Memory I: I/O Model, Cache-Oblivious Model, External Dynamic Programming 1x1 · 4x1 External Memory None
External Memory II: B-trees, B-epsilon trees 1x1 · 4x1 External Memory II External Memory
  • External Memory Geometric Data Structures L. Arge. Lecture notes. Section 1, 2.
  • Lower bounds for external memory dictionaries G. S. Brodal and R. Fagerberg, SODA 2003. Section 1 and 3.4.
  • An Introduction to Bε-trees and Write-Optimization. Michael A. Bender, Martin Farach-Colton, William Jannen, Rob Johnson, Bradley C. Kuszmaul, Donald E. Porter, Jun Yuan, and Yang Zhan. In :login; magazine, Volume 40, Number 5, pages 22--28, October 2015.
Course Roundup, Questions, Future Perspectives None

Mandatory Exercises

Use the template.tex file to prepare your hand in exercises. Do not repeat the problem statement in your hand in. Compile using LaTeX. Upload the resulting pdf file (and only this file) via Campusnet. The maximum size of the finished pdf must be at most 2 pages. An exercise from week x must be handed in no later than Sunday in week x before 20.00.

Collaboration policy for mandatory exercises

Violations of the collaboration policy will be reported.

Frequently Asked Questions

How should I write my mandatory exercises? The ideal writing format for mandatory exercises is classical scientific writing, such as the writing found in the peer-reviewed articles listed as reading material for this course (not textbooks and other pedagogical material). One of the objectives of this course is to practice and learn this kind of writing. A few tips:

How much do the mandatory exercises count in the final grade? The final grade is an overall evaluation of your mandatory exercise and the oral exam combined. Thus, there is no precise division of these part in the final grade. However, expect that (in most cases, and under normal circumstances) the mandatory exercises account for a large fraction of the final grade.

Can I write my assignments in Danish? Ja. Du er meget velkommen til at aflevere på dansk.

What do I do if I want to do a MSc/BSc thesis or project in Algorithms? Great! Algorithms is an excellent topic to work on :-) and Algorithms for Massive Data Sets is designed to prepare you to write a strong thesis. Some basic tips and points.