Online algorithms process input piece-by-piece in a serial fashion, while offline algorithms are given the entire problem data from the start. An example of this is selection sort being an offline algorithm and insertion sort being an online algorithm. Online algorithms cannot always match the performance of offline algorithms, but if the ratio between them is bounded, the online algorithm is called competitive.
Carnegie Mellon University
Spring 2022
This course explores the design and analysis of algorithms, algorithmic modelling techniques, and their efficiency. It aims to provide tools for designing and analyzing personal algorithms, using various analytical tools and frameworks. Some advanced topics not commonly covered in textbooks are also taught.
No concepts data
+ 37 more concepts