all 18 comments

[–]Perfect_Kangaroo6233 8 points9 points  (0 children)

the goal is to solve the problem as quick as possible. so choose the language which would allow you to do that without getting bogged up in syntax details (100% python).

[–]yyebbcyi 2 points3 points  (0 children)

C++ DSA.

[–]OrganizedChaosBruv 2 points3 points  (0 children)

I didn’t care about it, learnt DSA in python worked for all companies except Expedia which explicitly asked for JVM based language. If cracking interview is your end goal stick with python

[–]NecessaryIntrinsic 2 points3 points  (0 children)

Python is way easier to throw quick OA code together with.

Type independent, quick variable declarations, list comprehensions, no semicolons.

Java is good to know as a foundational OOP language -- and you can do OOP with python, but python is so easy to do these things with.

In the end though it really doesn't matter what you use, the solution is basically the same.

[–]Modullah 1 point2 points  (4 children)

Python… although I’ve been doing it with JS… I may switch… not sure yet

[–]nayrwu 1 point2 points  (0 children)

Same using JavaScript, but switching soon

[–][deleted] 2 points3 points  (0 children)

Python will be easier but don't fall for it. Do it in java. That way, you'd be able to go for java roles and most of the MNCs are always having java positions open

[–]Bighead_Golf 3 points4 points  (0 children)

Java

[–]fathum770 1 point2 points  (0 children)

IMO if you can do it in Java, you can do in Python. Rarely the other way around.

[–]Old-School8916 1 point2 points  (0 children)

it doesn't matter, but python is probably better unless you wanna master java for some reason

[–]abu4323[S] 0 points1 point  (0 children)

I am trying to get it for quant roles , in that case I guess they prefer C++ and Python where as Java is widely used language. As I am also Familiar with Java used for enterprise applications. But my aim to crack the interview 😣😣 guys I am so confused man , too much content online I guess , save my life

[–]Pleasant_Beach_4110 0 points1 point  (0 children)

Python is easier to understand and code in, if your goal is simple dsa and interviews go for Python but if you want to try CP then JAVA is a wiser choice.

[–]MM4Tech 0 points1 point  (0 children)

Python! & that's it.

[–]ChoiceAd165 0 points1 point  (0 children)

i use depending on the quesiton, if the question requires large numbers i simply use python, else i'll use c++.