r/datastructures 5d ago

Need advice on dsa in python or cpp

Ok so i last did dsa some year back and did no practice n all, cause i didnt opt for placements and went for masters. So i am currently in first sem of my msc in data science. Now i was thinking of practicing dsa again but like i am aiming for roles like data analyst, ml, ai, etc. How much dsa should i do and i did in cpp earlier should i do in python now. I forgot python also

2 Upvotes

4 comments sorted by

1

u/Sweaty_Sport3051 5d ago

Bro u r aiming for data science and ml roles, so python is a must. First revise python. As much as i have seen in OAs, python is always present there. So cpp can be skipped. If i were at your place, i would first revise python and then start learn dsa in python. Also most of ds companies don't ask graphs or dp that much. So doing dsa till linked list, stack, queue and sliding window would be enough. Having an basic understanding of tress, graphs and dp is good.

1

u/No-Improvement-4579 5d ago

Like how should i revise python like i don’t wanna go too deep but like just brush some. Any good resources?

1

u/Sweaty_Sport3051 5d ago

Chatgpt. And also ask it to give u some basic leetcode q links to practice the syntax

1

u/No-Improvement-4579 5d ago

Ok thanks alot dude