
Автор: Richard Bird, Jeremy Gibbons
Издательство: Cambridge University Press
Год: 2020
Формат: True PDF
Страниц: 454
Размер: 15.3 Mb
Язык: English
This book is devoted to five main principles of algorithm design: divide and conquer, greedy algorithms, thinning, dynamic programming, and exhaustive search. These principles are presented using Haskell, a purely functional language, leading to simpler explanations and shorter programs than would be obtained with imperative languages. Carefully selected examples, both new and standard, reveal the commonalities and highlight the differences between algorithms.