文件名称:Grokking.Algorithms.1617292230
文件大小:24.82MB
文件格式:PDF
更新时间:2019-07-01 04:33:53
Algorithms
Grokking Algorithms is a fully illustrated, friendly guide that teaches you how to apply common algorithms to the practical problems you face every day as a programmer. You'll start with sorting and searching and, as you build up your skills in thinking algorithmically, you'll tackle more complex concerns such as data compression and artificial intelligence. Each carefully presented example includes helpful diagrams and fully annotated code samples in Python. Grokking Algorithms is a friendly take on this core computer science topic. In it, you'll learn how to apply common algorithms to the practical programming problems you face every day. You'll start with tasks like sorting and searching. As you build up your skills, you'll tackle more complex problems like data compression and artificial intelligence. Each carefully presented example includes helpful diagrams and fully annotated code samples in Python. By the end of this book, you will have mastered widely applicable algorithms as well as how and when to use them. Table of Contents Chapter 1. Introduction to algorithms Chapter 2. Selection sort Chapter 3. Recursion Chapter 4. Quicksort Chapter 5. Hash tables Chapter 6. Breadth-first search Chapter 7. Dijkstra’s algorithm Chapter 8. Greedy algorithms Chapter 9. Dynamic programming Chapter 10. K-nearest neighbors