Algorithms Flashcards

1
Q

Difference between Algo & program ?

A

Algo is for design and program is for implem the design

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Characteristics of algo ?

A
Input
Output
Definitness
Finitness
Effectiveness
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Analyse an algorithm

A
time
space 
power
network transfer
CPU registers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

classement des n

A

1 < logn

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

term that describe Divide and conquer

A

Recursive

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Divide and conquer algo pattern

A

DAC(P) {

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Divide and conquer algo pattern

A
DAC(P) {
 if ( small(P))
  {
      S(P)
}
else 
{
  Divide(P(1),.....,P(K))
Apply DAC(P1)......DAC(Pk)
combine(S1,.....,Sk)
}
How well did you know this?
1
Not at all
2
3
4
5
Perfectly