40 Algorithms Every Programmer Should Know - Second Edition

By Imran Ahmad

Early Access

This is an Early Access product. Early Access chapters haven’t received a final polish from our editors yet. Every effort has been made in the preparation of these chapters to ensure the accuracy of the information presented. However, the content in this book will evolve and be updated during the development process.

Learn more
    What do you get with a Packt Subscription?

  • Instant access to this title and 7,500+ eBooks & Videos
  • Constantly updated with 100+ new titles each month
  • Breadth and depth in over 1,000+ technologies

About this book

Beyond traditional computing, the ability to use algorithms to solve real-world problems is an important skill that any developer or programmer must have. This book will help you not only to develop the skills to select and use an algorithm to tackle problems in the real world by understanding how it works.

You'll start with an introduction to algorithms and discover various algorithm design techniques, before exploring how to implement different types of algorithms, such as searching and sorting, with the help of practical examples. As you advance to a more complex set of algorithms, you'll learn about linear programming, page ranking, and graphs, and even work with machine learning algorithms, understanding the math and logic behind them.

Case studies on weather prediction, tweet clustering, and movie recommendation engines will show you how to apply these algorithms optimally. Then you will focus on deep learning algorithms and will learn about different types of deep learning models along with their practical use.

Finally, you'll become well versed in techniques that enable parallel processing, giving you the ability to use these algorithms for compute-intensive tasks.

By the end of this programming book, you'll have become adept at solving real-world computational problems by using a wide range of algorithms.

Publication date:
July 2022


40 Algorithms Every Programmer Should Know, Second Edition: Python algorithms to live by to enhance your problem-solving skills

Welcome to Packt Early Access. We’re giving you an exclusive preview of this book before it goes on sale. It can take many months to write a book, but our authors have cutting-edge information to share with you today. Early Access gives you an insight into the latest developments by making chapter drafts available. The chapters may be a little rough around the edges right now, but our authors will update them over time.

You can dip in and out of this book or follow along from start to finish; Early Access is designed to be flexible. We hope you enjoy getting to know more about the process of writing a Packt book.

  1. Chapter 1: Overview of Algorithms
  2. Chapter 2: Data Structures Used in Algorithms
  3. Chapter 3: Sorting and Searching Algorithms
  4. Chapter 4: Designing Algorithms
  5. Chapter 5: Graph Algorithms
  6. Chapter 6: Unsupervised Machine Learning Algorithms
  7. Chapter 7: Traditional Supervised Learning Algorithms
  8. Chapter 8: Neural Network Algorithms
  9. Chapter 9: Advanced Deep Learning Algorithms
  10. Chapter 10: Algorithms for Natural Language Processing
  11. Chapter 11: Recommendation Engines
  12. Chapter 12: Data Algorithms
  13. Chapter 13: Cryptography
  14. Chapter 14: Large-Scale Algorithms
  15. Chapter 15: Practical Considerations

About the Author

  • Imran Ahmad

    Imran Ahmad is a certified Google Instructor who has been teaching for Google and Learning Tree for the last many years. Imran completed his PhD in 2009 in which he proposed an AI used to develop intelligent clouds for Sudbury Neutrino Observatory. Since 2005 Imran is working in a high-profile machine learning project at the Advanced Analytics Lab of the Canadian Federal Government. The project is to develop machine learning algorithms that can automate the process of immigration. Currently Imran is also doing research on semi-supervised learning and edge computing

    Browse publications by this author
40 Algorithms Every Programmer Should Know - Second Edition
Unlock this book and the full library FREE for 7 days
Start now