Projeto e Análise de Algoritmos - Aula 09 - Limite inferior para o problema de ordenação

UNIVESP
22 Sept 201717:14

Summary

TLDRThis video script delves into the concept of upper and lower bounds in algorithm analysis, particularly for sorting algorithms. It explains how upper bounds, or the maximum time an algorithm could take, are often improved upon with new discoveries. The script emphasizes the importance of lower bounds, the minimum number of operations required to solve a problem, and their role in determining an algorithm's efficiency. Using decision trees to represent sorting algorithms, the video illustrates the process of comparison-based sorting and concludes with a mathematical proof that any comparison-based sorting algorithm must perform at least omega(n log n) comparisons in the worst case.

Takeaways

  • 📊 The video discusses the concept of lower bounds in algorithm analysis, specifically focusing on the problem of sorting.
  • 🔢 A lower bound, or lower limit, is the minimum number of operations an algorithm must perform to solve a given problem.
  • 🌐 The video introduces the idea of decision trees to represent sorting algorithms, which can be binary or even ternary.
  • 🌳 Decision trees are used to visualize the sequence of comparisons made by a sorting algorithm during its execution.
  • 📉 The height of a decision tree corresponds to the worst-case number of comparisons an algorithm must make, which is a key factor in determining its efficiency.
  • 📚 The video explains that any comparison-based sorting algorithm must perform at least \( \Omega(n \log n) \) comparisons in the worst case.
  • 🔄 The script uses the example of insertion sort to demonstrate how a decision tree represents the sorting process and the number of comparisons made.
  • 🔢 It is shown that the number of leaves in a decision tree must be at least \( n! \) (n factorial) for it to be able to sort any arbitrary sequence of n elements.
  • 📘 The video derives the formula \( n! \leq 2^n \) to establish a relationship between the number of comparisons and the height of the decision tree.
  • 🎓 The conclusion is that any comparison-based sorting algorithm must perform at least \( \Omega(n \log n) \) comparisons in the worst case, which is a fundamental result in the analysis of sorting algorithms.

Q & A

  • What is the main topic discussed in the script?

    -The main topic discussed in the script is the concept of upper and lower bounds in algorithm analysis, specifically in relation to sorting algorithms.

  • What are the two types of bounds mentioned in the script?

    -The two types of bounds mentioned are the upper bound, which indicates the worst-case scenario for an algorithm, and the lower bound, which represents the minimum number of operations necessary for any algorithm to solve a given problem.

  • What is the significance of comparing algorithms to their upper and lower bounds?

    -Comparing algorithms to their upper and lower bounds helps in evaluating the efficiency of the algorithms, determining if they are optimal, and understanding their performance limits.

  • Why are decision trees used to represent sorting algorithms in the script?

    -Decision trees are used to visually represent the sequence of comparisons made during the execution of a sorting algorithm, which helps in analyzing the number of operations performed.

  • What does the height of a decision tree signify in the context of sorting algorithms?

    -The height of a decision tree represents the number of comparisons made in the worst-case scenario of a sorting algorithm.

  • How are the concepts of 'Big O' notation and factorial related in the script?

    -The script relates 'Big O' notation to factorial by establishing that the number of comparisons in a sorting algorithm must be at least factorial (Ω(n!)), and at most 2 to the power of the height of the decision tree.

  • What is the significance of the number of leaves in a decision tree for a sorting algorithm?

    -The number of leaves in a decision tree corresponds to the number of possible permutations of the elements being sorted, which must be considered for the algorithm to be able to sort any input sequence.

  • What is the lower bound for the number of comparisons in a sorting algorithm based on the script?

    -The lower bound for the number of comparisons in a sorting algorithm is ω(n log n), which means that any comparison-based sorting algorithm must perform at least this number of comparisons in the worst case.

  • How does the script demonstrate that all possible permutations must be considered for a sorting algorithm to be complete?

    -The script demonstrates this by showing that if all leaves (representing all permutations) are present in the decision tree, then the algorithm can sort any input sequence.

  • What is the relationship between the height of a binary decision tree and the number of comparisons in the worst case?

    -The relationship is that the number of comparisons in the worst case is equal to the height of the binary decision tree, which is why minimizing the height is important for optimizing sorting algorithms.

Outlines

00:00

📐 Introduction to Algorithm Analysis

This paragraph introduces the concept of upper and lower bounds in algorithm analysis. It discusses how these bounds are used to evaluate the efficiency of sorting algorithms. The upper bound, or 'ceiling', represents the worst-case scenario for an algorithm, while the lower bound, or 'floor', is the minimum number of operations required to solve a problem. The paragraph also touches on the importance of comparing algorithms to find the most efficient one, and how decision trees can represent the steps an algorithm takes to sort a sequence of numbers.

05:03

🌳 Decision Trees and Sorting Algorithm Analysis

The second paragraph delves into the use of decision trees to analyze sorting algorithms. It explains how each node in the tree represents a comparison between elements, and how the structure of the tree can indicate the efficiency of the sorting process. The paragraph provides an example using the insertion sort algorithm with a set of three elements, demonstrating how the algorithm compares and orders the elements step by step, as represented by the decision tree.

10:04

🔢 Lower Bound Calculation for Sorting Algorithms

This paragraph focuses on calculating the lower bound for the number of comparisons needed by any sorting algorithm. It explains that the number of leaves in a decision tree corresponds to the number of permutations that must be considered to ensure the algorithm can sort any given input sequence. The paragraph also discusses the relationship between the height of the decision tree and the number of comparisons, leading to the conclusion that the lower bound for any comparison-based sorting algorithm is at least the factorial of the number of elements being sorted.

15:06

📉 Conclusion on Sorting Algorithm Complexity

The final paragraph concludes the discussion on the complexity of sorting algorithms. It reinforces the idea that any comparison-based sorting algorithm must perform at least omega(n log n) comparisons in the worst case. The paragraph summarizes the key points made in the previous sections, emphasizing the importance of understanding both the upper and lower bounds when analyzing the efficiency of sorting algorithms.

Mindmap

Keywords

💡Algorithm Analysis

Algorithm analysis is the process of evaluating the efficiency of algorithms in terms of time and space complexity. In the video, it is central to understanding how different sorting algorithms perform and the lower and upper bounds they can achieve. For example, the script discusses how an algorithm's efficiency can be measured by comparing it to known upper bounds, such as the best-known sorting algorithms.

💡Upper Bound

An upper bound in algorithm analysis is the maximum amount of time or resources an algorithm can use to solve a problem. The script introduces the concept of an upper bound to illustrate the theoretical limit on performance that an algorithm can achieve, such as the best-case scenario for a sorting algorithm.

💡Lower Bound

A lower bound is the minimum number of steps or resources required by any algorithm to solve a given problem. The video explains that a lower bound for sorting algorithms is the minimum number of comparisons needed to sort a list, which is a fundamental concept in establishing the efficiency of a new sorting algorithm.

💡Decision Tree

A decision tree is a model that maps out choices and their possible consequences. In the context of the video, it is used to represent the steps an algorithm takes, particularly in the case of sorting algorithms, where each node represents a comparison between elements of a list.

💡Sorting Algorithm

A sorting algorithm is a method for arranging the elements of a list in a certain order. The script discusses various sorting algorithms, emphasizing their importance in computer science and how they can be analyzed using upper and lower bounds.

💡Comparison-Based Algorithm

A comparison-based algorithm is one that sorts elements by comparing them to one another. The video script mentions that all comparison-based sorting algorithms must perform a number of comparisons that are at least on the order of the lower bound, which is a critical concept in the analysis of such algorithms.

💡Insertion Sort

Insertion sort is a simple sorting algorithm that builds the final sorted array one item at a time. The script provides an example of how insertion sort works, comparing elements and placing them in the correct position within a list.

💡Permutations

Permutations are arrangements of items in a specific order. The video script discusses how each leaf in a decision tree represents a permutation of the list being sorted, and how the number of permutations relates to the lower bound of the sorting algorithm.

💡Big O Notation

Big O notation is used to express the upper bound of the time complexity of an algorithm. In the script, Big O notation is used to describe the efficiency of sorting algorithms, particularly in terms of the number of comparisons needed in the worst-case scenario.

💡Optimality

Optimality in the context of algorithms refers to the quality of being the best possible solution. The video discusses how certain sorting algorithms are asymptotically optimal, meaning they approach the lower bound of the number of comparisons needed for sorting.

💡Worst-Case Scenario

The worst-case scenario is the situation in which an algorithm performs at its slowest or requires the most resources. The script uses the concept of the worst-case scenario to illustrate the maximum number of comparisons a sorting algorithm might have to make.

Highlights

Introduction to upper and lower bounds in algorithm analysis, specifically for sorting algorithms.

Explanation of upper bounds as the worst-case scenario for algorithm performance.

Lower bounds represent the minimum number of operations required by any algorithm to solve a problem.

The concept of asymptotically optimal algorithms that reach the lower bounds of complexity.

Sorting algorithms that can achieve the upper bound, such as QuickSort and MergeSort.

Discussion on whether there are faster algorithms based on comparisons than those currently known.

Comparison-based sorting algorithms must perform at least omega(n log n) comparisons.

Illustration of sorting algorithms using decision trees to represent the sequence of comparisons.

Example of Insertion Sort using a decision tree to demonstrate the process of element comparisons.

Observation that the number of leaves in a decision tree corresponds to the number of permutations.

Explanation that an algorithm must perform at least n factorial comparisons to ensure all permutations are covered.

Derivation of the lower bound for the height of decision trees and its relation to the number of comparisons.

Calculation of the lower bound for the number of comparisons in the worst case for sorting algorithms.

Use of logarithms to derive the lower bound for sorting algorithms based on the number of leaves in a decision tree.

Final conclusion that any comparison-based sorting algorithm must perform at least omega(n log n) comparisons in the worst case.

Practical applications and implications of understanding upper and lower bounds in algorithm design and analysis.

Closing remarks summarizing the importance of the lecture on sorting algorithms and their theoretical foundations.

Transcripts

play00:00

[Música]

play00:02

ah

play00:05

[Música]

play00:15

hola pesos beijing 2 nos habla número 9

play00:19

del proyecto y análisis de algoritmos en

play00:21

esa ola vamos a ver un límite inferior

play00:23

pero el problema de ordenanza

play00:29

como siento mostrar una introducción a

play00:33

una cuota superior y una cota inferior

play00:38

con más representación de árboles de

play00:39

decisión para algoritmos de ordenación y

play00:42

finalmente a cota inferior para

play00:44

ordenación

play00:46

las notas son normalmente utilizada para

play00:49

indicar un límite superior o llamada

play00:52

también de cota superior de problemas la

play00:55

cota superior de un problema posibilidad

play00:57

si alguien descubrir un auto algoritmo

play01:00

mejor a cotas superiores como si fuese

play01:03

un recorrido mundial es un recurso

play01:06

mundial por ejemplo por acogida el link

play01:08

mejorado tal vez cada momento un mismo

play01:11

conteste aparece un nuevo algoritmo el

play01:13

mejor o el hípico mayor la cota superior

play01:15

puede simular

play01:17

a cota superior el tiempo de un mejor

play01:20

algo mismo algoritmo conocido para el

play01:22

problema

play01:25

y hago lo que queda cota inferior a cota

play01:27

inferior un número de operaciones mínimo

play01:30

que es necesario facer por cualquier

play01:33

algoritmo para resolver un determinado

play01:35

problema

play01:37

vamos por aquí a que esa cota inferior

play01:45

y aunque para un problema está bien

play01:50

propuso un algoritmo nuevos que supone

play01:54

que el yate es el momento de un mejor

play01:56

entonces esa cuota superior más después

play02:01

llegó bien que mejoro aínda máis

play02:03

algoritmo así como experto dakota

play02:06

inferior llegó otro que fui como experto

play02:09

llegó otro que sí como experto hace que

play02:12

uno consiguió un algoritmo que atinxe a

play02:15

cota inferior cuando tenemos un

play02:17

algoritmo que tiene a ti ya cuota

play02:19

inferior dice mosqueo algoritmo

play02:21

asintóticamente 8

play02:27

ya vimos las aulas anteriores varios

play02:29

algoritmos de ordenación

play02:31

existen y vimos que existen algoritmos

play02:33

que pueden ordenar en en números

play02:37

no tiempo de en el oído

play02:41

por ejemplo un verso gibson alcanzan ese

play02:44

límite superior no vio el caso ellison

play02:47

da orden en el lobby del to quit son

play02:49

alcanzan a media hembra en que el ítem

play02:52

un peor caso en ese caso el líder de

play02:55

orden cuadra chica

play02:57

todos estos algoritmos que vivimos las

play02:59

aulas anteriores hipster merzouk week

play03:01

short el listón algoritmos vaciados en

play03:04

comparaciones

play03:07

la pregunta es será que existen

play03:09

algoritmos mayores que pasan y son más

play03:11

rápido

play03:14

la respuesta en su algoritmo se basa en

play03:17

comparaciones aunque que un algoritmo

play03:20

basado en comparación es un algoritmo

play03:23

básico de comparaciones elite en un

play03:25

flujo de control y que apenas depende de

play03:29

los resultados las comparaciones entre

play03:30

los elementos del vector

play03:34

vamos mostrarte coke de algoritmo basado

play03:36

en comparación escoger algoritmo de

play03:39

ordenación basado en comparaciones debe

play03:41

efectuar omega de enél o idn

play03:44

comparaciones no vio el caso eso implica

play03:48

como ya vimos antes que un mentor y un

play03:51

short son asintóticamente óptimos porque

play03:55

ellison da orden en el orden

play03:59

para demostrar la cota inferior de los

play04:01

algoritmos de ordenación vamos a

play04:04

representar esos algoritmos por marboré

play04:06

binaria decisión podría ser ternario

play04:08

también en este caso vamos a mostrar con

play04:11

árbol binario

play04:14

vamos a representar un árbol binaria de

play04:18

decisión un algoritmo a

play04:20

de ordenación arbitrario cualquier y

play04:23

vamos tener los elementos de s

play04:27

del vector que va a ser ordenado mucho

play04:29

más de a un adn esa va a ser la

play04:32

secuencia arbitraria de números que

play04:34

vamos a la entrada de algoritmo

play04:39

aunque quedemos ternada alborear me va a

play04:41

ser más o menos de ese tipo de aquí

play04:43

vamos a ser pues nos unos internos de

play04:46

arborización ser rotulados por pares de

play04:48

elementos la secuencia entre voltaire

play04:51

cada no fighter un par ahí hay otro con

play04:54

los elementos la secuencia hacer y

play04:56

representa una comparación que fey tapes

play04:59

por ese algoritmo de ordenación como por

play05:02

ejemplo aquí tenemos uno en que estás

play05:04

hablando que estamos comparando aún con

play05:07

a dos

play05:09

cada una las aristas de uno eso tú la da

play05:14

por menor o igual o mayor

play05:17

entonces aquí tenemos por ejemplo menor

play05:20

igual y aquí mayor

play05:24

cada follan de sangre rotulada por una

play05:29

permutación de una tn que sería

play05:33

permutación producida pero algoritmo

play05:35

como salida cuando esa falla ha tenido

play05:38

todo aquí tenemos un ejemplo hasta ahí

play05:40

las vais en un 32 11 ella primero va a

play05:44

estar aún después a tres y después a dos

play05:47

esa va a ser a orden

play05:49

final

play05:51

esto lo ordenado va a tener esa

play05:53

secuencia

play05:56

o que que va a indicar a arbolé árbol

play05:58

indica orden en que use elementos de

play06:00

secuencias son comparados durante la

play06:02

ejecución de ese algoritmo a un rótulo

play06:07

deja isla árboles va a corresponder a

play06:09

primera comparación efectuada pero

play06:11

algoritmo a yacía superior izquierda

play06:14

baja y se describe las comparaciones

play06:17

subsecuentes supongo que eso de aquí fue

play06:20

verdad que el elemento ahí fue menor o

play06:23

igual que elementos j

play06:26

ahora sí veamos un ejemplo particular de

play06:30

esa figura de aquí mostrará algo de

play06:33

binaria decisión su algoritmo orden de

play06:37

ordenación por inserción visto a las

play06:39

aulas anteriores para un conjunto de

play06:43

tres elementos entonces usted a un add

play06:46

ons

play06:49

y atrás

play06:57

demostréis elementos ciento

play07:00

i

play07:02

suponga que tenemos sus siguientes tres

play07:05

elementos 55 75 y 31 s a1 a2 y a3 co que

play07:11

la primera comparación frita pero

play07:13

algoritmos de ordenación la primera

play07:15

comparación feita va a ser un 55 con un

play07:18

75

play07:20

comparamos los 55 puntos 75 voy a

play07:22

preguntar si es menor o igual en menor o

play07:25

igual a ok no ahí por ese lado

play07:29

por un lado izquierdo de loja mosquera

play07:32

después de eso vamos a comparar un 75

play07:35

punto 31

play07:36

vale preguntar 75 el menor igual o mayor

play07:40

que 31 a gente ve que 75 es mayor que 31

play07:45

entonces por ese camino de aquí

play07:48

l'ebre en qué algoritmo de ordenación

play07:52

por inserción el iva ya empujando los

play07:54

elementos en modo de dejan un lugar

play07:56

cierto un elemento que está utilizando

play08:01

no tiene en ese caso va a intentar

play08:04

colocar un lugar sede toalla ve y guagua

play08:08

31.75 la próxima comparación que el ifai

play08:11

fase

play08:13

verificar si 55 es menor o igual o mayor

play08:18

que 31 en ese caso 55 es mayor que 30 y

play08:21

aumentan va a ir por ese lado árbol

play08:26

el hombre en que ese 31 verdad o

play08:29

elemento a través de esa secuencia

play08:32

lo que podéis hacer va a empujar un 55

play08:34

para hacer espacio para el 31 y

play08:37

finalmente para colocarlo algoritmo

play08:39

orden autorización va a colocar un 31 en

play08:41

un lugar 70 water 31 que es un elemento

play08:44

a 3s secuencia 55 elemento a 1 275 que o

play08:48

elemento a 2 veis aquí quien apoya

play08:51

exactamente tenemos esa secuencia

play08:53

mostrada aquí primero estado a triste

play08:56

pues aún y después shadows tal vez ya

play08:59

que un árbol y también agentino un

play09:03

modelo no coloca a esas cosas laborismo

play09:06

internas de cada empuje o elemento

play09:08

empuje u otro elemento apenas las

play09:10

comparaciones fechas durante la

play09:12

ejecución del algoritmo

play09:17

una observación importante es ver

play09:21

cuantas joyas existen en esa árbol si

play09:24

hallamos todas las joyas tenemos seis

play09:26

joyas que serían la verdad y tres

play09:29

actores talento cada una de las tres

play09:32

factorías que iguala seis permutaciones

play09:34

de ses tres elementos aparecen las joyas

play09:38

espera sé que un mismo contesta para un

play09:41

n arbitrario ser tanto para vinci como

play09:45

usted 20 factorial debemos tener 20

play09:48

factorial folias

play09:52

si una permutación no aparece en todo

play09:55

algoritmo no conseguiría ordenar la

play09:58

correspondencia y secuencia de entrada

play10:00

hacerte es importante notar como primero

play10:03

sabemos que ten que ter n factoría o

play10:05

fobias pero menos

play10:09

en toda labor y que representa un

play10:11

algoritmo de ordenación debe tener por

play10:13

lo menos en el factor ya fallas que

play10:15

acabéis de fallar

play10:17

una u otra cosa importante

play10:21

porque va a ser un número de

play10:23

comparaciones que el algoritmo vai facer

play10:25

si observamos a árbol en el peor de los

play10:28

casos exactamente a la altura del árbol

play10:31

de decisión en este caso cuántas

play10:33

comparaciones lo peor casos son feitas

play10:37

28,23 mayor número de comparaciones 3

play10:41

que es altamente altura de árboles et

play10:45

veis en que la cantidad de joyas de un

play10:49

árbol de altura 32 elevado a 36 árboles

play10:53

se completa en la teoría

play10:57

2 468 voy a ser 2 elevado a altura

play11:03

si es la serie completa

play11:06

continuando con a nosa unos o cálculo de

play11:12

cuán cuánto de un número de

play11:14

comparaciones no peor caso

play11:17

y ya dijimos que un número de

play11:20

comparaciones está muy relacionada con

play11:22

altura da árbore decisión así si

play11:25

calculamos un limitante inferior para

play11:27

altura de árboles decisión lo algoritmo

play11:30

también tenemos un limitante inferior

play11:32

para complejidad y tu peor caso de

play11:35

algoritmo

play11:39

entonces vamos a probar que la cuota

play11:43

inferior pero los algoritmos de ordenas

play11:44

han vaciado en todas esas observaciones

play11:46

anteriores un número de folios de un

play11:49

árbol y binaria decisión de autor acá

play11:51

debe ser menor o igual a 2 haga vimos y

play11:54

en completa armonía fighter

play11:58

doy saga folles allen hizo vimos que

play12:02

toda agua que representa un algoritmo de

play12:04

ordenación debe tener pelo - n factor

play12:08

yanfon es ok entonces aunque estemos en

play12:11

el final un número de fallas debe ser

play12:14

mayor o igual a n factorial y debe ser

play12:16

menor o igual a 2 elevado al set

play12:22

ok tenemos exámenes de ecuación propia

play12:24

de aquí resumiendo m factorial debe ser

play12:27

menor o igual a 2 elevado a k

play12:30

aplicando el login en ambos lados como

play12:33

usted lo que tiene factorial en menor o

play12:36

igual al logo de 2 elevado haga eso de

play12:39

ahí nada esto es lo que tenemos aquí a

play12:43

que haga debe ser mayor o igual al logo

play12:46

idn factorial

play12:48

ok maestro que tiene factorial a uno

play12:52

quería demostrar que a cota inferior

play12:54

para los algoritmos de ordenación de

play12:56

omega de enero viene

play12:58

yo no tengo aquí nada de en él o bien

play13:00

tengo en el factor y aunque que facilitó

play13:03

vamos ver un más de grilla que podemos

play13:07

usar de modo a llegar en en él o bien

play13:09

sabemos que en el factor de agua

play13:12

cuadrado es igual a productor y adn - y

play13:16

veces y más un desde igual a cero

play13:19

n menos uno

play13:23

y eso es mayor o igual a productor ya de

play13:25

igual a una n dn o que igual a n elevado

play13:29

a n para entender esa parte de aquí

play13:32

vamos a hacer un exemplo simples supone

play13:35

que yo quiero calcular un factor ya te

play13:38

quiero calcular 6 factorial elevado al

play13:40

cuadrado 6 factoría o elevado cuadrado

play13:42

un mismo que 6 factoría 226 factorial es

play13:45

cierto

play13:47

aplicando esto de aquí hay en tipos y

play13:49

ver una verdad ya se podría colocar aquí

play13:51

6 astoria o que igual a 6 veces 5 veces

play13:54

cuatro veces tres veces dos veces 1 y 6

play13:57

factorial también igual a 1 veces dos

play13:59

tres cuatro o cinco veces 6 hacer lo que

play14:02

hace está colocando un de manera

play14:04

decreciente y otro de manera creciente y

play14:08

exactamente que está en esa fórmula de

play14:10

aquí si igual a cero agency bayter n y

play14:14

aquí vamos a hacer un pose ya que íbamos

play14:16

a hacer seis veces un que esa primera de

play14:19

aquí chihuahua un aquí para mostrar 6

play14:22

menos uno

play14:23

5 y aquí vamos tener 25 meses 20 días y

play14:28

podrían y soy mayor o igual a productor

play14:32

ya de igual a una nn si hay agency files

play14:36

por separado si podría fallar que seis

play14:38

meses son en mayor y guagua 65 meses

play14:40

sois el mayor igual a 6

play14:43

y si fuésemos a multiplicación de todas

play14:45

ellas eso de equipo y dad says' elevado

play14:47

a 6 que se han elevado a n

play14:52

todo está más o menos la intuición de

play14:55

esa fórmula

play14:56

ok ahora que ya sabemos lo que significa

play14:59

en el factorial podemos sustituir en esa

play15:03

fórmula de aquí benefactor ya la gente

play15:06

sabe que el factor ya va cuadrado es

play15:08

mayor o igual que en elevado de n 11 ya

play15:11

en el factorial es mayor o igual a n

play15:14

elevado a n medios como sustituir eso

play15:17

aquí un consumo de tiempo es mayor o

play15:20

igual a los idn factor ya set y ese

play15:24

mayor igual al lobby de n elevado n

play15:27

medios estamos sustituyendo benefactor

play15:29

lladó por en elevado a n / 2 ok y x

play15:37

propiedades y tu blog y agentes point

play15:40

colocan a frente vn medios y verificar

play15:43

entonces en medios login

play15:46

y llegamos una cosa similar o que hay en

play15:49

si quería

play15:50

o sea que tvn en mayor o igual

play15:55

a nm ellos lo viven porque quiere decir

play15:58

que tvn omega n login

play16:02

creo que la conclusión de todo hizo que

play16:05

todo algoritmo de ordenación basado en

play16:07

comparaciones debe facer pelo - debe

play16:10

facer por lo menos omega d en el lobby

play16:12

de n comparaciones no peor caso

play16:17

y todo eso fui a nosa aula número no

play16:20

olvide proyecto y análisis y algoritmos

play16:22

espero que no se estén y han gustado y

play16:24

ya te aproxima hoy

play16:27

[Música]

play16:45

2

play16:46

[Música]

play16:55

[Música]

play17:04

[Música]

play17:08

y

Rate This

5.0 / 5 (0 votes)

相关标签
Algorithm AnalysisSorting AlgorithmsEfficiency LimitsDecision TreesComputational ComplexityUpper BoundsLower BoundsInsertion SortBinary DecisionPerformance MetricsAlgorithm Optimization
您是否需要英文摘要?