2080 10

CSC325 · 2080 · 5 marks

Write short notes on a) Aggregate Analysis b) Selection problems

Write short notes on a) Aggregate Analysis b) Selection problems [5]

Design and Analysis of AlgorithmsChapter 1: Foundation of Algorithm AnalysisConcept of Aggregate Analysis

Definition: Aggregate analysis is a technique used in amortized analysis that determines the upper bound T(n) on the total cost of a sequence of n operations, then calculates the average (amortized) cost per operation as T(n)/n. Steps in Aggregate Analysis: 1. Show that a sequence of n operations...