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".
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!
I recently had a job ingerview where they asked me questions about data structures in python that needed a deep knowledge of how dictionaries (hashes) work in python under the hood. I know data structures and algorithms is not bonded to any language but given how python works I bet there is something python focused out there. Any help?
Ps: questions like: how would you implement a data structure that can have the methods "get", "set" and "set_all" (sets values for all the keys present) and is O(1)? Or, how would you create a "cache" of a given size that removes the least used object when the size is surpassed and keeps the most used object in top of the "pile" of the cache, and all operatios are O(1)?
Hi all,
I am trying to learn more about the DS & Algos side of things, and am looking for a book that comprehensively covers both.
The only book I've uncovered so far is Grokking Algorithms, it's nice that it's covered in Python, but it's mostly algorithms and I'm missing the data structures portion.
Can anyone make any recommendations?
Thank you!
Hi all, as above really.
1 year heavy experience programming in python (postgrad in computational chemistry + my own side projects) but looking to move beyond scripting to programming.
Was wondering if anyone had experience with the above text for data structures and algorithms (a topic that's always recommended round here!).
I think it looks readable enough, but I like having examples to learn from so wondered if other text books would be similar in their approach or not.
Thank you for the feedback and hope you enjoy your Friday night!
Can someone please tell me where I can find the best resources to study and master data structures and algorithms in Python.
Hey all,
I'm looking for a book or course to learn data structures and algorithms. I came across the following three but am curious for input from the community. The first two had a few concerning reviews about quality and incorrect code. I'm open to other books or courses as well. Thanks!
Data Structures and Algorithms in Python
Data Structures and Algorithms with Python (Springer)
Problem-Solving with Algorithms and Data Structures Using Python
MIT OpenCourseWare Introduction to Algorithms
I am looking for some online courses for DSA with Python (as many courses on Coursera are using Java).
Some requirements:
-
Basic, introductory about DSA only
-
Well structured
-
Using Python for practice
So far, I only found 2 courses: Jovian and MIT 6006. Are there any other courses you would recommend?
Thank you
I want to begin learning data structures and algorithms with python and I'm looking for resources/advice.
Background info:
Sometime ago I thought Java was a more appropriate language for learning this subject so I picked up Algorithms, fourth edition by Sedgewick. I picked up this book because it is more approachable than CLRS and the examples are in Java.
I actually haven't touched this book because I was learning how to do other things with Python (e.g. web dev) but now, I want to learn this subject. After some reading, I discovered that the language doesn't matter a whole lot and it's probably better that I stick with Python since that is the language I already know.
At this point, I'm unsure if I should stick with Algorithms by Sedgewick, switch to another book, or supplement with another book. Since the coded examples in the Segewick book are in Java, i would have to learn enough java to impliment the code in Python, but at that point, I might be better off using Java. Not sure.
The two books that come to mind:
-
Data Structure and Algorithmic thinking with Python (Karumanchi), https://www.amazon.com/Data-Structure-Algorithmic-Thinking-Python/dp/8192107590
-
Data Structures and Algorithms in Python (Goodrich), https://www.amazon.com/Structures-Algorithms-Python-Michael-Goodrich/dp/1118290275/ref=sr_1_4?ie=UTF8&qid=1467858397&sr=8-4&keywords=goodrich+data+structures#customerReviews
My thinking is to work my way through the first resource and use the sedgewick book as a reference to understand the theory. The second book looks comprehensive but less popular (but probably because Java is more commonly used for learning this stuff in the university).
I'm aware of interactive python but I read that the resources is too basic.
I already know some python and am still learning. My goal is to be able to complete problems on leetcode. What are some beneficial books/videos about data structures and algorithms in python. My preference is video and I am at a beginner level but I have no problem with a rigorous program. My background is in math.
My goal is to intuitively know the proper data structures and types of algorithms to use for a given problem. If you know of any books with lots of examples I'd really appreciate it. Specifically, questions about graph searches and recursion and all those tougher concepts. My use case is for programming A.I (classical A.I. not machine learning algorithms), and to ace those tough interview questions.
You can give this a try, free to read online: Problem Solving with Algorithms and Data Structures using Python
Not AI, but of the 10, 11 python books I have, my always-first-choice for anything python is "Data Structures and Algorithms in Python" by Goodrich, Tamassia and Goldwater. I just appreciate that it is systematic and thorough: most python books are such unbelievable crap, it's amazing.
I downloaded it from the thems internet, aaaggh!
Hello everyone,
i am an engineer and basically tought myself how to code, because i would like to go for machine learning. I am not an expert yet.
I often read or heard that algorithms and data structurs and all that are super important for coding and even if i think i make quite a good progress in learning, i often feel like i am missing the basics.
It's so much out there. Like tons of youtubers and online courses and some fancy bootcamp thing (Until recently i didn't even know something like that exists). Like Udemy, coursera, edx, youtube, tons of books, kaggle, leetcode, algoexpert, the list is endless. Everything is full of advertisement and i have no idea what i should go for...
What source can you recommend me to learn this stuff theoretically and practically preferable in python? I would prefer videos over a book and a big course that covers everything rather than a bit of this topic here and a bit of that topic there and stuff. I don't mind if it is some sort of academic and mathematically, but it should cover some practice aswell.
I was thinking about just going for this:
https://www.edx.org/xseries/mitx-computational-thinking-using-python
But not sure if it's deep enough. I don't even know how deep i have to understand all that. I am not planning to go for some PhD. I Just want to go for a Job at the interface of machine learning/coding and engineering, but i also realy want to understand this whole topic as deep as possible. So I don't want to spend hours and hours on following some course just to begin another course right after. If that's the only way, fine. But maybe someone has a good recommendation?
I've learned the basics of Python and now want to dive into data structures and algorithms using Python. Can anyone recommend good YouTube playlists or websites for learning DSA in Python?
Hello everyone,
I am an undergrad pursuing my B.E. in CS, I'm in my third year and given that I don't code efficiently, I'd like to get much better at data structures and algorithms, so I've decided to start from scratch.
And is it okay if I code in python and the book is in some other language?
Thanks!
I've gotten to the point in my Python learning journey where I'm interested in learning algorithms and data structures. I'm not a big fan of online video courses as I prefer to read books to learn.
Right now, I'm considering buying one of the following books: Grokking Algorithms, Problem Solving with Algorithms and Data Structures, and Cracking the Coding Interview.
Assuming I have zero knowledge of algorithms (which is true), but an intermediate knowledge of python as a language, which do you recommend?
PS - Python is my first programming language.
-
also.. some concerns I have is that the first two books I mentioned seem way too short, only 250 pages. While the 3rd book is longer (700) but is written in Java.
Hi, as the title reads I am looking for a good book on data structures and algorithms in python. Also taking recommendations on courses in the specific area. Thanks in advance.
I'm looking to dive into Data Structures and Algorithms (DSA) in Python to prepare for FAANG interviews, as I find Python more comfortable than C++. However, I'm a bit overwhelmed with the available resources. Can anyone recommend a reliable online course or book for learning DSA in Python that's well-suited for FAANG interview preparation?
So, pretty much every career advice skills lists includes - or even leads with - DSA. Obviously, there are numerous books available on these topics, but what's the best way to actually practice these things?
I certainly know of linked lists, heaps, hash tables, etc, but reading the theory is at best half the battle.
Some info about my specific situation:
My interest is in the area of data analysis.
My resources are the books "A Common-Sense Guide to Data Structures and Algorithms", "Data Structures the Fun Way", "Dive into Algorithms".
I primarily practice on Stratascratch (which doesn't really cover this at all).
Thanks for any advice.
Hi guys, I am learning python on my own from a month and facing lot of problem in solving the problem with in time. So I understood that I have to get a good at data structures and algorithms and watched bunch of videos and understood the concept of what are sorts but I am unable to write my own code for sorting using python. Are there any good resources for learning Data Structures and Algorithms ?It is becoming stupid that I could solve the problem linearly but couldn't do it in time for larger input cases and its frustrating.
MIT's "Introduction to Computer Science and Programming Using Python" on edX is one good starting point.
i totally agree on this. That book is great if you seriously want to learn Data Structures and Algorithms. It helped me a lot back when i started my CS journey and it still helps me now and then.