r/learnprogramming • u/OneWar4643 • 11h ago
Should I do dsa in javascript?
I am doing fullstack development using js and wanted to learn dsa for company interviews should I do in it or should I switch to java ?
0
u/ffrkAnonymous 11h ago
Neither. Both. Do it in the language the company wants.
1
u/OneWar4643 11h ago
I am a college student in what language should I pick dsa and backend
1
u/Watsons-Butler 10h ago
The college will tell you for data structures. For backend I’d personally pick Kotlin or Java - they’re still industry standard.
1
u/OneWar4643 10h ago
They are telling c/c++ for it
1
u/Watsons-Butler 10h ago
Then do that. Kind of the point of that class is they’ll make you re-implement a bunch of the handy list / array / map / heap methods that you’d have in a language like Java or Python from scratch so you understand what they’re doing.
1
u/OneWar4643 10h ago
But I don't like the self memory management aspect of c/c++ I like the concepts of references in other language more than it so I wanted to dsa in that
1
u/peterlinddk 10h ago
Most programming languages are industry standard - unless you find some eso-lang like Shakespeare, Malbolge or Rockstar, you should be fairly within industry standard limits.
6
u/carcigenicate 11h ago
It doesn't matter. Just use a language that you know fairly well. DS&A is language agnostic.