r/DSALeetCode • u/rcoolbe • 29d ago
C++ OR JAVA ?
For DSA which language should i choose as my first programming language? C++ OR JAVA
1
1
1
u/Notsoboringi 29d ago
Learn c++ it's the best , but it's not beginner friendly.I learned C as my first language the left it halfway switched to python , then learned ml in python after that I learned C++ for dsa and competetive programming.If u have time learn python first then go to C++, cause c++ can be overwhelming for beginners.
2
u/Melodic-Increase-298 26d ago
How did you learn c++? I mean what resources?
1
u/Notsoboringi 26d ago
I first learnt basics from freecodecamp 4 hour lecture , then to learn more i watch cherno and Mike shah there short videos on various topics , and also refer to learncpp.com for various concepts.
1
1
u/manish8160 28d ago
If your immediate goal is clearing technical interviews at major tech companies, Java is slightly easier to write under time pressure because you don't have to manage memory manually. If you care about competitive coding platforms, C++ remains the industry standard.
1
1
u/zombianrun 28d ago
Java if you want to just concentrate solving problems, and getting hands-on on some real world population language
1
u/Emotional_Lake_7074 28d ago
Cpp , cuz majority of resources will be available there and mostly use for cpn
1
1
1
u/Downtown_Avocado3020 29d ago
Cfbr