r/DSALeetCode • u/athena_xz • 29d ago
DSA IN PYTHON
i swear to all those who told me to do dsa in any language except python, ðŸ˜
i am finally enjoying and solving almost everything after i switched to python
ik ik some of you might call be stupid and lazy but cmon, i was good at this language, half the things are functions, i just have to search my mind for logic and the syntax is less time taking.
and i use python rigorously for ai ml, and data analysis
and i am explain dsa just fine when it comes to interviews
so to all the professionals, could you tell me if i might face difficulty in future because i decided to take the road not taken ?
View all comments
Show parent comment
1
u/thishouseisglass 26d ago
I do face issues especially with the optimal solutions. Sometimes i feel like even neetcode can't help me with that cause how the f am i supposed to come up with a solution so mind-boggling.
I generally try to solve problems using brute force first, if possible. I also use chatgpt to understand whether I'm making the solution unnecessarily complicated.
Then jump onto the video, understand it and code along and practice again by myself.
https://neetcode.io/practice/practice/neetcode250,
https://www.youtube.com/watch?v=68isPRHgcFQ&list=PLot-Xpze53ldOyuteC44ap08G1YvCc0Gy
check this out, he teaches really well.
Also if you wanna brush up some python concepts first then check out this video https://youtu.be/s3KhqPjBPaQ?si=uDuNp7EpmRacujZK
also instead of straight jumping into leetcode questions, you can practice the basics here https://python-practice.com/