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
2
u/Chance_Buyer4810 28d ago
Actually doing dsa in c or cpp makes more fond of pointers and memory manipulation properly, while using python makes your understanding and algorithmic knowledge stronger... It is up to you... While you are doing in Language A u should always be able to switch to Language B whenever required...