Plz give me some advice!
Posted by New_Committee6902@reddit | learnprogramming | View on Reddit | 5 comments
Hey I am a frst year CSE student.so as I wanna work at big tech so I have started c++ because I have heard that DSA with c++ is very helpful but my university has taught us java? What should I do? Is it right decision for me to start DSA with java if i want to crack FAANG
BeginningOne8195@reddit
Yeah you’re fine either way honestly, companies care more about your problem solving than the language, so if your college already teaches Java, sticking with it for DSA is completely okay.
LowSuitable533@reddit
yo, youre perfectly fine. it's not the programming language. but is "understanding" DSA so that "tracing" DSA problems later on will be easier to follow regardless Java, C++, or any other language
i learned C then C++. After 2 semesters, Python became handy and now understood the language easier not bc of the language but understanding DSA concepts.
one better way to understand this is understand DSA, then translate it to C++ before Java or vice versa
Apprehensive-Owl3048@reddit
Yes, Java is perfectly fine for FAANG DSA.
The truth is that FAANG doesn't care about the language. They care about your problem-solving logic.
Java has everything you need: Collections, PriorityQueue, HashMap, etc.
C++ is slightly faster, but irrelevant at interview level
Switching languages mid-learning = wasted time
I say that you stick with Java since you already know it
Master DSA concepts first: arrays, trees, graphs, DP
Practice on LeetCode consistently (This is a must)
Language switch (if ever needed) takes 2 weeks once your DSA is solid
The real reason people fail FAANG isn't the language! It's weak fundamentals and inconsistent practice.
Don't optimize the wrong thing. Simply start solving problems.
bootyhole_licker69@reddit
do dsa in whatever you’re most comfortable with right now, language doesnt really matter for interviews, just problem solving. use java since college already teaches it, you can pick up c++ later. getting any dev job now is hard
SwimmingAd1026@reddit
yeah java is totally fine for interviews, most of these companies don't really care about language choice anyway. I'd stick with java since you already learning it in university - switching now just gonna slow you down when you should be focusing in actual problem solving skills instead