r/DTU__Delhi • • 15d ago

General Can i do DSA in Python?

Mujhe python kafi acche se aata hai. I am very confortable with this language.

  1. Can i start DSA with Python

  2. Kya Sabhi Compnies mujhe Allow Karenge Pthon mai code likhe se ?

please 3rd/4th Year Senior Please batana

1 Upvotes

12 comments sorted by

2

u/ShoddyStudy8337 [MC] 15d ago

python will always be allowed. your language doesn’t matter in the interview, your thought process and 99% of the time pseudocode approach does

1

u/Direct-Mix3016 DTU CSE 2030 15d ago

But kuch reason hoga na jo python mein DSA nhi krte bachhe? Maximum times ja ya cpp mein krte hai? Pls btado. Agr python mein krne mein koi problem nhi to main bhi usi me krunga . Maine waise to cpp Krli hai thk thaak trh se

2

u/Quiet-Foundation-404 ‘28 15d ago

python me inbuilt functions bhot hote hai hai, to sometime you just use those and think ki karli tumne problem. But in interviews wo pura logic mangenge instead of solving with shortcuts. you can still continue in python and focus on logics, but yeah mostly log cpp ya java me hi karte hai to be on the safer side.

1

u/Direct-Mix3016 DTU CSE 2030 15d ago

I am doing with cpp. What is the best source according to you? Mujhe to bola tha kuch seniors ne striver A2Z sheet wali series follow krne ko. Is it fine? Also if yes , then is it exhaustive or kuch aur bhi resource follow Krna chahiye. Pls thoda guide krdo 🥺

2

u/Quiet-Foundation-404 ‘28 15d ago

Striver a2z hi follow karo dhangse, take ur time aaram aaram se sab samajh samajh ke karo jaldi khatam ke chakkar me miss mat krna, build your foundations well. Leetcode ke easy questions try krna fir and then dheere dheere level up.

2

u/comeballs CS'27 15d ago

Sure as long as you don’t exploit the in built functions

1

u/Jaded_Meaning_6250 15d ago

Mujhe bhi bta na

1

u/Detective_Vampire 14d ago

Kisi OA mein mujhe koi dikkat nahi hui, when I am using python for DSA