Data Structures and Algorithms

De la WikiLabs

The Data Structures and Algorithms course is based on knowledge gained from the Computer Programming course in the first semester, and its role is to provide the base for algorithmic thinking, problem solving and advanced computer programming skills.

Lecture Slides

Homework - 2014

  1. DSA Homework 1 - soft deadline: 13.03.2014, 23:59, hard deadline: 27.03.2014, 23:59 - Results
  2. DSA Homework 2 - soft deadline: 27.03.2014, 23:59, hard deadline: 10.04.2014, 23:59 - Results
  3. DSA Homework 3 - soft deadline: 10.04.2014, 23:59, hard deadline: 24.04.2014, 23:59 - Results
  4. DSA Homework 4 - soft deadline: 24.04.2014, 23:59, hard deadline: 08.05.2014, 23:59 - Results
  5. DSA Homework 5 - soft deadline: 08.05.2014, 23:59, hard deadline: 22.05.2014, 23:59 - Results
  6. DSA Homework 6 - hard deadline: 22.05.2014, 23:59 - Results

Homework submitted after the soft deadline will only receive half the credit. Homework submitted after the hard deadline will receive no credit.

Information: There is a general programming course starting on Coursera on the 2nd of June. I recommend taking it in order for you to practice concepts and learn a new programming language. Python is widely spread and really useful for you to know.

Information: There is an algorithm course on Coursera staring on 13th of June.


Submissions must include one or more C source files, compilable with GCC version 4.8.0 or greater, and a .txt document (NOT a doc/ docx or pdf file) including the algorithm description and a short analysis of the complexity.


Homework will be submitted via e-mail at address

The e-mail subject MUST follow the following template: [DSA]<your_name> - <your_group> - <homework #>. E.g.: [DSA]Radu Hobincu - 421G - 1

The e-mail body should contain any comments you wish to make on the homework.

The e-mail attachments should consist of at least two files: one or more C source files, having a .c extension, and a text file, having a .txt extension, containing the algorithm description and analysis.

NOTE: The arrival time of the e-mail is considered as the submission time, so make sure you submit some time before the deadline.

Code Examples

DSA Lab Web Page

On this web page you will find lab assignments, code examples, related resources and, as a bonus, you can evaluate your progress (how many points you have obtained so far).

Useful Links

Recommended readings

  • The Algorithm Design Manual: Skiena
  • Algorithms (4th Edition): Sedgewick & Wayne
  • An Introduction to the Analysis of Algorithms: Sedgewick
  • The Art of Computer Programming: Knuth
  • Concrete Mathematics: A Foundation for Computer Science: Knuth

Other resources

  • Algorithms: Design and Analysis, Part 1: here
  • Algorithms: Design and Analysis, Part 2: here
  • Analysis of Algorithms: here
  • Algorithms, Part I: here
  • Algorithms, Part II: here
  • Stack Overflow: here


These are final DSA grades for 2013-2014.

Note: Student with 49 points and above will be scheduled for interviews. They will be added early this week.

Note: Please make sure you fill in the subject evaluation form before the end of the exams session.

  • The interviews for the homework for students that obtained 49p+ is on the 1st of June at 10:00 DSA - Interview Schedule
  • DSA - Exam schedule
  • The maximum points for the final exam are 30 points split into 15p a multiple choice test for 15 mins and 15p for a practical application.

Second Evaluation Session - September

The rules for the September re-evaluation are as follow:

  • The final grade will be the sum of two grades:
    • The grade for the continuous evaluation (lab + homework) throughout the semester - 80 points
    • The grade for the final exam (multiple choice questions + application) - 30 points
  • In order to increase the continuous evaluation grade, you may implements one of the listed DSA Projects and present it during the exam session in September. Keep in mind that this grade will overwrite the one you have received during the semester. You may also choose to keep the grade you already have, if you consider it is enough for you to pass the subject. The presentations for any implemented projects will be done publicly, so you are also required to create 3-4 slides and talk about the code you wrote.
  • The grading for the final exam will be identical to the examination that took place in June.

Update: The autumn session exams are scheduled on the 12th and 14th of September, at 10:00 AM, in A410. The supervisors will be Gabriel Neagoe on the 12th and Radu Hobincu on the 14th.

Update: These are the DSA grades for 2013-2014 second evaluation session.