

Buy anything from 5,000+ international stores. One checkout price. No surprise fees. Join 2M+ shoppers on Desertcart.
Desertcart purchases this item on your behalf and handles shipping, customs, and support to Kenya.
Classic Computer Science Problems in Python presents dozens of coding challenges, ranging from simple tasks like finding items in a list with a binary sort algorithm to clustering data using k-means. Classic Computer Science Problems in Python deepens your Python language skills by challenging you with time-tested scenarios, exercises, and algorithms. As you work through examples in search, clustering, graphs, and more, you'll remember important things you've forgotten and discover classic solutions to your "new" problems Key Features ยท Breadth-first and depth-first search algorithms ยท Constraints satisfaction problems ยท Common techniques for graphs ยท Adversarial Search ยท Neural networks and genetic algorithms ยท Written for data engineers and scientists with experience using Python. For readers comfortable with the basics of Python About the technology Python is used everywhere for web applications, data munging, and powerful machine learning applications. Even problems that seem new or unique stand on the shoulders of classic algorithms, coding techniques, and engineering principles. Master these core skills, and youโll be ready to use Python for AI, data-centric programming, deep learning, and the other challenges youโll face as you grow your skill as a programmer. David Kopec teaches at Champlain College in Burlington, VT and is the author of Manningโs Classic Computer Science Problemsin Swift. Review: Great book for the right audience - If you've already done a decent amount of programming in at least two other languages (including at least one OO), this is a great book to learn about python from. It does not bother with the simple things that you can look up online in two seconds (flow control syntax, defining a simple function, etc.) or OOP concepts. Instead it is a very well chosen set of, as the title implies, classic algorithms with broad use value: K-means clustering, graph searching, constraint-satisfaction problems, even neural network basics. Each of these forms a chapter with a simple, comprehensible generic implementation, presented piecemeal in a narrative and then applied to a handful of different concrete problems. I'd seen most of these techniques before, but I wish my original introduction to them had been this succinct and balanced. Along the way of various features and conventions of python are introduced in a natural way. The author also uses the relatively new (not strictly enforced) typing annotations, which I appreciated as a fan of strong typing. Again, though, if you are out to learn programming with python, this probably is not the book for you. But if you already understand OOP well and want something interesting to survey a new language with, this is a lot of fun. Review: Thorough, enriching book - This book is great for semi-experienced python users. Every chapter introduces several new pythonic concepts and provides a very nice generic framework for trying out the algorithms described. It is the kind of book where you'd get the most out of it when you work through it.
| Best Sellers Rank | #129,533 in Books ( See Top 100 in Books ) #76 in Programming Algorithms #190 in Web Programming #278 in Computer Programming Languages |
| Customer Reviews | 4.4 out of 5 stars 141 Reviews |
M**K
Great book for the right audience
If you've already done a decent amount of programming in at least two other languages (including at least one OO), this is a great book to learn about python from. It does not bother with the simple things that you can look up online in two seconds (flow control syntax, defining a simple function, etc.) or OOP concepts. Instead it is a very well chosen set of, as the title implies, classic algorithms with broad use value: K-means clustering, graph searching, constraint-satisfaction problems, even neural network basics. Each of these forms a chapter with a simple, comprehensible generic implementation, presented piecemeal in a narrative and then applied to a handful of different concrete problems. I'd seen most of these techniques before, but I wish my original introduction to them had been this succinct and balanced. Along the way of various features and conventions of python are introduced in a natural way. The author also uses the relatively new (not strictly enforced) typing annotations, which I appreciated as a fan of strong typing. Again, though, if you are out to learn programming with python, this probably is not the book for you. But if you already understand OOP well and want something interesting to survey a new language with, this is a lot of fun.
A**R
Thorough, enriching book
This book is great for semi-experienced python users. Every chapter introduces several new pythonic concepts and provides a very nice generic framework for trying out the algorithms described. It is the kind of book where you'd get the most out of it when you work through it.
P**P
Book
Best book
M**S
Very nice algorithm examples
I am a season programer and really enjoyed this book. Found examples to be quite complete. It has helped me improve my Python skills.
J**Y
Great Content, But Moves Too Fast, Not Enough Depth
This is a good book, but I don't think it serves a very wide audience well. It covers some of the most famous and popular algorithms out there โ but it moves so fast and goes into so little depth that I can't recommend it to someone junior looking to learn these topics (which seems to be the target audience). I think anyone who already has a handle on all these algorithms, and just wants to learn efficient ways to write them in Python, will be happy with this book. But if you don't know these algos, and/or you're not already very confident in Python, this book is equally as confusing as educational. I know Python well, and I know most of the algos in this book already, so for me those were easy to read over and the Python code made perfect sense. The few that I didn't already know, however, left me confused and frustrated, because the explanations just didn't go into enough granular detail (about the algo logic nor the python implementation) or give enough different examples for me to really make sense of them from reading alone (which a well written book does offer). Final word: If you already know Python and you just want a reference implementation of algos you already firmly understand, this book is a walk in the park. For anyone else there is certainly lots of value in this book, but it may also leave you with as many questions as answers by the final page.
Trustpilot
3 weeks ago
2 weeks ago