0% found this document useful (0 votes)
66 views18 pages

Advanced Algorithms: Dr. LOUNNAS Bilal

1. The document discusses challenging computer problems and algorithms. 2. It introduces complexity theory, which examines how hard problems are to solve for computers. 3. The course will cover deceptively simple but impossible problems, solving very challenging problems, and theoretical computer science research.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
66 views18 pages

Advanced Algorithms: Dr. LOUNNAS Bilal

1. The document discusses challenging computer problems and algorithms. 2. It introduces complexity theory, which examines how hard problems are to solve for computers. 3. The course will cover deceptively simple but impossible problems, solving very challenging problems, and theoretical computer science research.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 18

Basics of algorithms analysis Challenging problems Example to understand Problem and algorithm

Advanced Algorithms
By: Dr. LOUNNAS Bilal

1/17
Advanced Algorithms Dr B. Lounnas
Basics of algorithms analysis Challenging problems Example to understand Problem and algorithm

Basics of algorithms analysis

This course is about really challenging computer problems.

The area of computer science that deals with these challenging


problems is called Theoretical Computer Science, or more
specifically, Complexity Theory.

2/17
Advanced Algorithms Dr B. Lounnas
Basics of algorithms analysis Challenging problems Example to understand Problem and algorithm

Basics of algorithms analysis

Question

In complexity theory, we ask the question of how hard certain


problems are to solve for a computer. So how much time you
really need to solve that problem.

3/17
Advanced Algorithms Dr B. Lounnas
Basics of algorithms analysis Challenging problems Example to understand Problem and algorithm

Basics of algorithms analysis

Question

In complexity theory, we ask the question of how hard certain


problems are to solve for a computer. So how much time you
really need to solve that problem.

3/17
Advanced Algorithms Dr B. Lounnas
Basics of algorithms analysis Challenging problems Example to understand Problem and algorithm

Basics of algorithms analysis

After taking this course

1 Deceptively simple problems that are impossible to solve for


computers
2 Recognize, and actually, also solve, very challenging problems.
3 Theoretical computer science a very rich and active field of
research, and with this course will prepare you to dig deeper
4/17
Advanced Algorithms Dr B. Lounnas
Basics of algorithms analysis Challenging problems Example to understand Problem and algorithm

Challenging problems

How it work!

1 Write some program on your computer.


2 You feed the input into the computer.
3 Computer will work on your problem.
4 After a certain time the computer will be done, and it will produce
your output
5/17
Advanced Algorithms Dr B. Lounnas
Basics of algorithms analysis Challenging problems Example to understand Problem and algorithm

Challenging problems

How it work!

Wrong

Now, you would think that computers today are powerful enough
to basically do this for any problem for which you can write a
program.
6/17
Advanced Algorithms Dr B. Lounnas
Basics of algorithms analysis Challenging problems Example to understand Problem and algorithm

Challenging problems

Waiting

But no matter how long you wait, the computer is not able to
produce an output because the problem that you’re giving it is
just too hard, even for a computer.

7/17
Advanced Algorithms Dr B. Lounnas
Basics of algorithms analysis Challenging problems Example to understand Problem and algorithm

What to do about them

1 Complexity theory.
2 Computability.

8/17
Advanced Algorithms Dr B. Lounnas
Basics of algorithms analysis Challenging problems Example to understand Problem and algorithm

What to do about them

9/17
Advanced Algorithms Dr B. Lounnas
Basics of algorithms analysis Challenging problems Example to understand Problem and algorithm

Quiz

Quiz

10/17
Advanced Algorithms Dr B. Lounnas
Basics of algorithms analysis Challenging problems Example to understand Problem and algorithm

Quiz

Quiz solution

11/17
Advanced Algorithms Dr B. Lounnas
Basics of algorithms analysis Challenging problems Example to understand Problem and algorithm

Example to understand

Let’s take this example of challenging problem

12/17
Advanced Algorithms Dr B. Lounnas
Basics of algorithms analysis Challenging problems Example to understand Problem and algorithm

Quiz

Quiz

How many network monitoring device we need for this network?

13/17
Advanced Algorithms Dr B. Lounnas
Basics of algorithms analysis Challenging problems Example to understand Problem and algorithm

Quiz

Quiz solution

We need 4 devices.

14/17
Advanced Algorithms Dr B. Lounnas
Basics of algorithms analysis Challenging problems Example to understand Problem and algorithm

Alice algorithm

15/17
Advanced Algorithms Dr B. Lounnas
Basics of algorithms analysis Challenging problems Example to understand Problem and algorithm

Alice algorithm

16/17
Advanced Algorithms Dr B. Lounnas
Basics of algorithms analysis Challenging problems Example to understand Problem and algorithm

Problem and algorithm

17/17
Advanced Algorithms Dr B. Lounnas

You might also like