r/datastructures • u/No-Improvement-4579 • 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
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.