Warning

This page is located in archive.

FEL timetable ALG students Upload system BRUTE Discussion board

**Programming homeworks**

There are 6 programming homeworks in the semester. The total value of the homeworks is 12 points, the value of each one homework is 2 points. To obtain the assessment it it necessary to solve successfully a number of problems which yields at least 8 points. The homeworks are assigned and the solutions are evaluated in the upload system BRUTE.

**Upload system**

Communication with the upload system is described on the page Upload System.

Read it carefully.

- Each homework implements some lecture topics, sometimes that topics might be only a part of the homework. To solve an advanced homework it may be necessary to acquaint oneself with another basic algorithm not covered in the lectures, for example shortest paths in weighted graphs, minimum spanning tree etc.
- A successful solution of a homework must produce a correct result on at least 9 of 10 input data files.
- A successful solution has to be effectively implemented. A time limit is specified for each input data file. The limit varies between 1 and few tens of seconds for different inputs. The solution must produce the result within the time limit.
- The deadlines of the homeworks are fixed. Individual plan can be agreed upon in case of prolonged sickness, foreign trip or other important causes.

- The Discussion board may help with discussions about the homeworks and other issues of the course.

**Homework deadlines **

assignment -- deadline 1. 21.2. -- 20.3. ( Asymptotic complexity ) 2. 28.2. -- 27.3. ( Tree traversal ) 3. 14.3. -- 10.4. ( Tree traversal ) 4. 21.3. -- 17.4. ( Graph search ) 5. 4.4. -- 1.5. ( Graph search ) 6. 11.4. -- 7.5. ( Graph search ) Correct 10 of given 10 test cases ... 2 pts Correct 9 of given 10 test cases ... 1 pt Correct 8 or less of 10 test cases ... 0 pts

**Assessment**

- It is necessary to obtain at least 8 points for solving the programming homeworks.
- It is vitally important to avoid plagiarism in the homeworks, read carefully the rules of Plagiarism. Consult the teacher
*in advance*if there is anything unclear to you in this regard.

1st homework problem statement: desc.html.pdf .

Download public test data here: datapub.zip.

2nd homework problem statement: desc2.html.pdf.

Download public test data here: datapub2.zip.

3rd homework problem statement: desc3.pdf.

Download public test data here: datapub3.zip .

4th homework problem statement: desc4.pdf .

Download public test data here: datapub4.zip .

5th homework problem statement: desc5.pdf .

Download public test data here: datapub5.zip .

6th homework problem statement: desc6.pdf .

Download public test data here: datapub6.zip.

Seminar 1. problems – (complexity) – pdf ,
additional: pdf .

Seminar 2. problems – (recursion, recurrences) – pdf . With solutions: here.

Seminar 3. problems – (tree traversal) – pdf. With solutions: here.

Seminar 4. problems – (graph traversal) – doc. With solutions: doc.

Seminar 5. problems – (search trees, state space search) docx .

Seminar 6. problems – (AVL and B-trees) – docx .

Seminar 7. problems – (O(n^2) sorts) – docx

Seminar 8. problems – (O(n log(n)) sorts, binary heap) – doc

Seminar 9. problems – (O(n) sorts) – pdf.

Seminar 10. problems – (Dynamic programming I) – doc. With solutions: doc.

Seminar 11. problems – (Dynamic programming II) – doc

Seminar 12. problems – (Hash tables I) – *I and II: doc *

Seminar 13. problems – (Hash tables II) – dtto

Seminar 14. problems – (Multi Dim sorts, median search) – *In preparation.*

courses/be5b33alg/seminars.txt · Last modified: 2018/05/23 16:57 by berezovs