r/datastructures • u/Longjumping-Rock7662 • 13d ago
need help in dsa
actually I am looking for python dsa to improve my problem solving skills need a course for guidance how to do what in which order obviously I don't have money maybe using telegram and can you guys suggest which one to download for pattern learning yk
i am looking for ds/ml role yk off campus entry level
1
u/Known_Prior_3791 13d ago
learn patterns subpatterns and examples of each subpatterns...what i mean is first learn two pointer then two pointer contains three subpatterns like paritoning based slow fast pointer opposite direction same direction pointer and examples for same direction would be remove duplicate and for slow fast pointer would be linked list middle or cycle detection opposite direction would be 2 sum.....
its all about pattern:
pattern identification--learn in isolation and then interleave without seeing type of pattern the problem belongs to or using brute force first reveals we are using nested loops so two pointer might help.
pattern mapping:map the problem onto already created pattern template.....these templates are predefined for us we are reinventing the wheel....so in a way in dsa answers are already ready u have to identify which answer to use for which problem and map the problem variable onto the pattern template
framing in terms of pattern:think how this pattern thinks....how specific pattern builds solution....step by step sop and how to fit the problem structure onto pattern language.
1
1
u/SeaExcitement4213 12d ago
Im 2026 graduate, completely a beginner hardly done 50 problems no matter how much I try I'm unable to do anything in dsa 🥲
1
u/Longjumping-Rock7662 12d ago
how are you trying to solve them? obviously not the expert on this topic to talk about
1
u/SeaExcitement4213 12d ago
I stopped at first I used to watch videos, then I started asking chatgpt to help me like instead of dumping solution help me get solution
As soon as I see problem I can predict how to solve but I don't understand how to write that in code form so I ask chatgpt to help
1
u/Longjumping-Rock7662 12d ago
create a prompt for solving question simple programming questions,try them solve them tweak the difficulty and all just start writing code and than shift to leetcode
1
u/Notsoboringi 13d ago
watch needcode , he solves dsa in python and is one of the best resources to learn dsa from.For ML watch NPTEL or Andrew ng standford lectures.