BouncyBagel
BouncyBagel

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++.

14mo ago
Find out if you are being paid fairly.Download Grapevine
SparklyKoala
SparklyKoala

No it doesn't. However I would still recommend start preparing in the language you use at work, some crack heads in the recruitment process do consider the language you use in DSA as the one you're only proficient in

MagicalQuokka
MagicalQuokka

+1 to this suggestion. Never understood why companies let morons like these take interviews without proper interviewer training.

FloatingMuffin
FloatingMuffin
Google14mo

You're just shooting yourself in the foot in DSA if your code is anything other than python. If you look at the solutions to Leetcode questions, python consistently has the shortest solutions and would help you tremendously to save time

GroovyPretzel
GroovyPretzel

I usually prefer to use JavaScript for DSA, but this time I'm currently interviewing at one of the MANG companies and recruiter specifically asked me to do DSA in Kotlin.

But yeah, not much of a bother since I generally treat language as only a tool and have done interviews in Java, Kotlin, Haskell, C#, JavaScript and Swift before.

WigglyPickle
WigglyPickle

Be proficient in any one language. Preferably the one you have working experience.Also in general during interview we are asked to code in hackerrank or some other platform but not any IDE.So memorizing the commonly used methods would be useful.

Discover more
Curated from across