r/programminghelp • • Mar 07 '26

Java Dsa advice

DSA help... I'm a first year college student and I want to learn DSA... I've got a classic questions (Cpp vs Java)...I really want to proceed with java as I'll be having java next sem as well... So will I be missing out on anything if I don't learn c++?

3 Upvotes

8 comments sorted by

View all comments

Show parent comment

1

u/Beregolas Mar 07 '26

this. If you want a specific language for DSA, the only one I suggest is C. It is simple, has no bells and whistles, and it forces you to actually build everything.

But even that is not really necessary. It's just a simple way of preventing you from solving each problem with a hashmap XD (only slightly joking)

In general: Use any language you want, or even do pseudocode.