
Which language do you prefer for DSA and why?
Python has less boiler plate code compared to other languages which saves a lot of time in pressure environment like interviews. Do you agree?
One interview, 1000+ job opportunities
Take a 10-min AI interview to qualify for numerous real jobs auto-matched to your profile 🔑
Python - the syntax is much more concise and short compared to the others which saves time and whiteboard space while writing code. That makes a big difference when you have to complete multiple problems during a 45 mins - 1 hour time window of a typical coding interview

I mostly gave my interviews in java but I also practiced python alongside for the interviews. Python is very nice and easy for dsa interviews if they allow it. The list comprehension, the python list that doubles as a stack and can be initialized just as a '[]'. the @cache annotation for turning a recursive solution to a memoized dp solution. soo convenient

Yeah true. I had some dilemma but now I have also moved to python.