SparklyHamster
SparklyHamster

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?

Python
C++
Java
Golang
Javascript
Other (please share name)
115 votesexpired
3mo ago
Talking product sense with Ridhi
9 min AI interview5 questions
Round 1 by Grapevine
FluffyKoala
FluffyKoala

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

TwirlyJellybean
TwirlyJellybean

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

SparklyHamster
SparklyHamster

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

Discover more
Curated from across
Software Engineers
by BouncyBagelGoogle

DSA Language

Does it matter which language I use in interviews to solve DSA questions? My majority of work has been in Java/Python. I have practiced DSA in C++.

Software Engineers
by BubblySushiSoftware Developer

Coding Practice Advice

I am starting to prepare to give interviews for the software developer role my current tech stack is python should I practice coding questions in python only as earlier I used to solve problems in C++

Any advice around this would be gre...

FAANG
by WigglyDonutSoftware Developer

JavaScript or Java?

I started my DSA journey with Java as my first programming language, but I found my first job in the MERN stack domain. Now, with 1 year of experience in a Node.js environment, I want to restart my DSA journey. I am more comfortable with...