Introduction to Algorithms by Thomas Cormen is the default. Great book, one of the most popular of all time. A classic. It is primarily a reference book. Get the 4th edition. Data Structures and Algorithms in Python by Goodrich, Tamassia, and Goldwasser is kind of the gold standard. The original version was in Java and has been used as a college textbook all over the US. Grokking Algorithms by Aditya Bhargava is a good book as well: much less formal, and uses pseudo code instead of actually writing out the code for you. Also uses a lot of diagrams. Some people love it but I hated it. Answer from proteanbitch on reddit.com
🌐
Reddit
reddit.com › r/learnpython › what is the best course/book for data structures & algorithms using python?
r/learnpython on Reddit: What is the best course/book for data structures & Algorithms using Python?
August 24, 2022 -

Hey, just learning Python as my first programming language.

Reading Python Crash Course, Automate the boring stuff and learn code by solving problems (python) and then doing 100 day udemy project challenge.

I understand that I need solid knowledge in data structs/algor for interviews/leetcode/life

Anyone has good suggestions? preferably that is easy to follow/read.

Thank you!

🌐
Donsheehy
donsheehy.github.io › datastructures › fullbook.pdf pdf
Donald R. Sheehy A First Course on Data Structures in Python
This book is not intended as a first course in programming. ... CHAPTER 2. BASIC PYTHON
🌐
O'Reilly
oreilly.com › library › view › data-structures › 9780134855912
Data Structures & Algorithms in Python [Book]
August 26, 2022 - Building on Robert Lafores legendary Java-based guide, this book helps you understand exactly how data structures and algorithms operate. Youll learn how to efficiently apply them with the enormously popular Python language and scale your code ...
Authors   John CanningAlan Broder
Published   2022
Pages   928
🌐
Nibmehub
nibmehub.com › opac-service › pdf › read › Data Structures and Algorithms in Python.pdf pdf
Data Structures and Algorithms in Python
Explore the newest arrivals of our collection to discover the various ways you can borrow, · learn and read through the library
🌐
Pythonbooks
pythonbooks.org › topical-books › algorithm-and-data-structure
Python books on Algorithm and Data Structure - pythonbooks.org
"Data Structure and Algorithmic Thinking with Python" is designed to give a jump-start to programmers, job hunters and those who are appearing for exams. All the code in this book are written in Py...
Find elsewhere
🌐
Medium
medium.com › @dsguru › best-books-on-data-structures-and-algorithms-using-python-98c182b537ce
Best Books on Data Structures and Algorithms using Python | by DS Guru | Medium
March 31, 2023 - It is a comprehensive guide to data structures and algorithms using Python. The book covers topics such as arrays, linked lists, stacks, queues, trees, graphs, sorting and searching algorithms, dynamic programming, and more.
🌐
Reddit
reddit.com › r/learnpython › best python books for data structure and algorithms (dsa) ?
r/learnpython on Reddit: Best Python books for Data Structure and Algorithms (DSA) ?
August 1, 2024 -

So I wanna learn DSA then completely dive into Data Science and after that ML and DL, But first thing first I need to know which book would be good for me to learn DSA by using python ?

(I know that using book as primary source for studying would not be the best choice but the thing is I have much time so I wanna learn things deeply and clearly)

EDIT--Thanks for all your advice, Now I am going with "Data Structures and Algorithms in Python by  Michael H. Goldwasser, Michael T. Goodrich, and Roberto Tamassia".

Top answer
1 of 7
12
Maybe unpopular opinion, but python is bad for learning DSA, especiallythe DS part. I did a DSA course in C# and everything makes sense when you have declared types, build your classes and so on. However, if you are doing the same challenges in python, there are always the questions of - why not just use a list/dict/ordered dict. You have to counterintuitively write lower level things that python already handles.
2 of 7
8
Any good algorithm book will describe the algorithms in abstract terms, and not just in one particular language. Because after all, you can implement them in any language. I would recommend "Introduction to Algorithms" by CLRS (Cormen, Leierson, Rivest, Stein). The algorithms are described in pseudocode, not in any particular programming language. For example, their insertion sort is "implemented" as follows: for i = 2 to n key = A[i] // insert A[i] into the sorted subarry A[1:i - 1] j = i - 1 while j > 0 and A[j] > key A[j + 1] = A[j] j = j - 1 A[j + 1] = key You might notice that this already looks close to Python (and that their array indices are 1-based). IIRC Guido was inspired by how pseudocode looks (which is not standardized, just an ad hoc way to describe algorithms in a language neutral way); that's why there's the "Python is runnable pseudocode" memes, and stuff like this . Another popular book is "Algorithms" by Robert Sedgewick; I've never read it, but I assume the algorithms are also described in pseudocode. I've found a github repo where people implement the algorithms in Python. Of course there's also the holy bible TAOCP by Knuth, but that's more a reference for experienced people, as it is incredibly information dense and mathematical. Knuth himself said that "2 pages in my book is somebody's entire career work".
🌐
BPB Online
bpbonline.com › products › data-structures-with-python
Data Structures with Python – BPB Online
Data Structures with Python
FREE PREVIEWISBN: 9789355513304eISBN: 9789355513311Authors: Dr. Harsh BhasinRights: WorldwidePublishing Date: 31st March 2023Pages: 420Dimension: 7.5*9.25 InchesBook Type: Paperback
Price   $29.95
🌐
Quora
quora.com › What-are-considered-some-of-the-best-books-on-Python-data-structures-algorithms
What are considered some of the best books on Python data structures & algorithms? - Quora
I am here to suggest some best books on Python data structures and algorithms so that you can make a wise decision of picking up the book: 1. Data Structure and Algorithms by Ian Goodfellow 2. Introduction to Algorithms by Thomas 3. The Art ...
🌐
Medium
medium.com › javarevisited › 8-best-data-structures-and-algorithms-books-for-software-engineers-and-developers-4d3af68542e7
8 Best Data Structures and Algorithms Books for Software Engineers and Developers | by javinpaul | Javarevisited | Medium
October 15, 2025 - And, if you need a Python data structure course to accompany this book, I recommend you to join The Complete Data Structures and Algorithms Course in Python course in Udemy. This course offers a comprehensive learning experience, including 100+ DSA interview questions for successfully navigating FAANG interviews.
🌐
O'Reilly
oreilly.com › library › view › data-structures-and › 9781118290279
Data Structures and Algorithms in Python [Book]
March 18, 2013 - Based on the authors' market leading data structures books in Java and C++, this textbook offers a comprehensive, definitive introduction to data structures in Python by respected authors. Data Structures and Algorithms in Python is the first ...
Authors   Michael T. GoodrichRoberto Tamassia
Published   2013
Pages   748
🌐
Amazon
amazon.in › Structures-Algorithms-Python-Michael-Goodrich › dp › 1118290275
Data Structures and Algorithms in Python
Data Structures and Algorithms in Python
Data Structures and Algorithms in Python : Tamassia, Roberto, Goldwasser, Michael H., Goodrich, Michael T.: Amazon.in: Books
(4.4)
Price   ₹8,200.00
🌐
W3Schools
w3schools.com › python › python_dsa.asp
DSA with Python
Algorithms is about how to solve different problems, often by searching through and manipulating data structures. Understanding DSA helps you to find the best combination of Data Structures and Algorithms to create more efficient code.
🌐
GeeksforGeeks
geeksforgeeks.org › dsa › python-data-structures-and-algorithms
DSA with Python - Data Structures and Algorithms - GeeksforGeeks
October 10, 2025 - DSA Python · Last Updated : 10 Oct, 2025 · This tutorial is a beginner-friendly guide for learning data structures and algorithms using Python. In this article, we will discuss the in-built data structures such as lists, tuples, dictionaries, etc. and some user-defined data structures such as linked lists, trees, graphs, etc.
🌐
Mrcet
mrcet.com › downloads › digital_notes › CSE › II Year › DATA STRUCTURES THROUGH PYTHON(R20A0503).pdf pdf
1 Data Structures Using Python (R20A0503)LECTURE NOTES B.TECHIIYEAR–I-SEM
Oops Concepts- class, object, constructors, types of variables, types of methods. Inheritance: single, multiple, · Python Specific Data Structures: List,Tuples, Set, Dictionaries, Comprehensions and its Types,Strings,slicing · Linked Lists – Implementation ofSingly Linked Lists, Doubly ...
🌐
Packt
packtpub.com › en-us › product › hands-on-data-structures-and-algorithms-with-python-third-edition-9781801073448
Hands-On Data Structures and Algorithms with Python – Third Edition | Programming | Paperback
Hands-On Data Structures and Algorithms with Python – Third Edition
Choosing the right data structure is pivotal to optimizing the performance and scalability of applications. This new edition of Hands-On Data Structures and Algorithms with Python will expand your understanding of key structures, including stacks, queues, and lists, and also show you how to apply priority queues and heaps in applications. You’ll learn how to analyze and compare Python algorithms, and understand which algorithms should be used for a problem based on running time and computational complexity. You will also become confident organizing your code in a manageable, consistent, and sc
(4.8)
Price   $49.99
🌐
TutorialsPoint
tutorialspoint.com › python_data_structure › python_data_structure_tutorial.pdf pdf
Python Data Structures i
An Algorithm is step by step set of instruction to process the data for a specific purpose · All the content and graphics published in this e-book are the property of Tutorials Point (I) · To add the Python directory to the path for a particular session in Unix, refer the following: