This textbook covers the mathematical foundations of the analysis of algorithms. The gist of the book is how to argue, without the burden of excessive formalism, that a given algorithm does what it is supposed to do. The two key ideas of the proof of correctness, induction and invariance, are employed in the framework of pre/post-conditions and loop invariants.
The algorithms considered are the basic and traditional algorithms of computer science, such as Greedy, Dynamic and Divide & Conquer. In addition, two classes of algorithms that rarely make it into introductory textbooks are discussed. Randomized algorithms, which are now ubiquitous because of their applications to cryptography; and Online algorithms, which are essential in fields as diverse as operating systems (caching, in particular) and stock-market predictions.
This self-contained book is intended for undergraduate students in computer science and mathematics.
Betal enkelt med kort, Klarna, Apple Pay eller Google Pay. Ikke fornøyd? Du har alltid 14 dagers angrerett. Les mer i våre vilkår. Har du spørsmål, send oss en e-post på hello@memmo.org.
Memmo gjør det enklere å studere – uansett hvor du er i verden. Hos oss samler du pensumbøker og smarte studieverktøy på ett og samme sted: sammendrag, quizer, podkaster og flashcards. Og så Ted, din studiekompis som svarer på alt du lurer på. Over 50 000 studenter studerer allerede her – bygget for at du skal lære raskere og stresse mindre.