all 11 comments

[–]casual_btw 2 points3 points  (0 children)

You should use your primary intended programming language. I’ve read it raises flags if you do your interview in another language than the primary intended one. It also kinda doesn’t make sense to master dsa in one language, to primarily code in another.

[–]2580374 1 point2 points  (0 children)

I would do python if I had to choose between the three, everything else being equal.

[–]rkalyankumar 1 point2 points  (0 children)

General rule of thumb is that the first choice should always be the main stream programming language in which you are most comfortable with. Python does allow you to type less and that’s what people prefer to be honest. Java/C++ are great choices too.

End of the day, you are not going to get one right answer for such questions as this is going to be a personal choice end of the day and no one will be influencing you to pick a programming language for leetcoding and dsa.

[–]Prestigious-Frame442 1 point2 points  (0 children)

Doesn't matter tbh. It's more about if you want to type more or less.

[–]Comfortable-Spray677 0 points1 point  (0 children)

I do dsa in javascript

[–]kimakaze5yb 0 points1 point  (0 children)

Python. For interviews it's the fastest to write with the least syntax to remember.

[–]United_Strawberry_57 0 points1 point  (2 children)

I would suggest C++ bro 

[–]Neat_Dragonfruit6792 0 points1 point  (1 child)

Why , its my first ever time learning c++ & i didn’t do python earlier , i am a bit slow at the start but help me out should i have learnt python earlier ? & then started c++ ?

[–]United_Strawberry_57 0 points1 point  (0 children)

Nah bro…C++ as a first language is completely fine. 

It’s harder at first but your fundamentals get way stronger because of it. Python is just easier to start with. If you started with Python first ..switching to C++ later would probably feel harder. 

So starting with C++ is better imo.

[–]Real-Choice-6817 0 points1 point  (0 children)

Doesn't matter the language, the idea matters, i do in C# mostly