AMORTIZED ALGORITHMS AND THEIR ANALYSIS

Descripción

Given a situation of determining whether a given algorithm is amortized or not, follow the steps carefully....
vishal d b
Apunte por vishal d b, actualizado hace más de 1 año
vishal d b
Creado por vishal d b hace alrededor de 7 años
30
0

Resumen del Recurso

Página 1

AMORTIZED ALGORITHMS

Algorithms are quantitative techniques to analyze the solution. It may range from analyzing an ant's path to the analysis of the effective distance travelld by the earth

Página 2

INTRODUCTIONS

Well we've all seen the case of the merge sort. IN case of the merge sort, the elements in a vector are spiced into smaller bits until a single element is obtained at the end. Then , the single element is further merged with the other elements and this process continues. A small deep instance into this problem gives us a conclusion that the maximum time is consumed in the process of splicing the vectors. Well, this is the point that we need in this topic!!!! The very fact that some operations or part of an algorithm consumes more time leads us to study one of the marvels of computing called Amortized Algorithms

Mostrar resumen completo Ocultar resumen completo