Lecture moved this week – 29th November, 10am

November 28, 2011

As we discussed last Friday, this week’s lecture was moved from Friday, Dec 2nd, to Tuesday, Nov 29th. The lecture is scheduled in room EG301 (Automatica/Energetica), the same room used for the last lecture held in Automatica. If you do not manage to find the classroom by yourselves, we’ll meet at 9:55 in the EC hallway.


Assignment 1 – 2011

November 21, 2011

Here you have a link to the first assignment.

You can send it until 5th of December 2011, 23:59.

Assignment1

– The rules are explained in the assignment page: https://adcfils.wordpress.com/assignements/

– Cheating is not permitted

Comment this post if you have questions about the assignment.


Lab 2 Divide et Impera & Greedy

November 8, 2011

1. Recursive Powering

2. Find missing number in a sequence of consecutive numbers (0,1,2,3…n) in which one is missing. (Binary Search)

3. You are given two arrays of numbers, each representing an army. The first is you army and the second the opponent’s army. Each number represents the power of a soldier. The pair of soldiers at the same index (in both arrays) battle against each other. If your soldier has the power less or equal than the opponent’s soldier losses. Knowing how the other army is arranged, assign the soldiers in the battle in order to maximize the sum of powers of the winning soldiers and compute that sum.


Lab 1 Asymptotic Notation & Recurrence Relations

November 8, 2011


Course lecture hours changed this week

November 8, 2011

As I mentioned at the last lecture, this week we will not have the lecture on Friday (Nov 11), as I am going to a conference. Instead, the lecture is scheduled on Tuesday (Nov 8), in room EG301 (Automatica/Energetica). If you do not manage to get to the classroom, we’ll meet at 9:50 in the EC hallway.


Lab scores

November 3, 2011

You can view your lab scores here:

https://docs.google.com/spreadsheet/ccc?key=0AmILDkjkfxCWdDdjdDM4SVRhSUZZT0F5YlQwT2JPaVE&hl=en_US#gid=0