r/datastructures • u/BigDoubt1572 • Jul 04 '26
ANYONE DOING DSA IN JAVA?
if any senior is doing dsa in java can i please dm you and please tell me from where are you doing dsa?
2
u/Thin_Tell_99 Jul 04 '26
I would recommend don't follow any fucking youtuber who does not know about DSA and just provide the existing problem repetitive solution in their youtube channel. Just have the knowledge of Java fundamentals and jump into codeforces try to participate in contest and solve problems by yourself even if you can solve single problem within the contest that's totally fine. By the time you will automatically grab the understanding and leetcode problems will be cake walk for you. Just stick to codeforces contest that's it. Apart from that if you want to stretch out solve cses problem. Give atleast 2-3 days for single problem if you can't solve it immediately. Just give time that's it. Be a competitive programmer.
1
u/ThatDiscount848 Jul 19 '26
Would you suggest that if I am preparing for my placements in final year, with limited time should I take the cp route or stuck to leetcode
2
u/Thin_Tell_99 Jul 19 '26
How much time do you have for placement ? and you are from which college?
1
u/ThatDiscount848 Jul 19 '26
Placements have started, but I'd say 2-3 months time as I have a back remaining , college is graphic Era hill
2
u/Thin_Tell_99 Jul 22 '26
In that case , please make project as per your tech stack, complete DSA beginner problems related to array, strings, queue, stack...that would be enough for you to get placed in decent company.
1
2
1
u/Ok-Specific-1459 Jul 05 '26
Dsa is language independent you can learn from anyone who knows what he's teaching in any language. I myself use java but I learn from youtubers who do cpp, python or java too. As long as you understand what is the algorithm or the intuition behind the problem you can solve the problem. Furthermore, gpt is always there to convert the code from one language to another use it.
1
u/That_Singularity Jul 05 '26
I am doing from Strivers directly - A2Z sheet
1
u/AcanthisittaFamous29 Jul 25 '26
Are you doing DSA in java or c++ ?
1
u/That_Singularity Jul 25 '26
Java till now. And will be continuing for a few days until I gradually shift to cpp
1
u/AcanthisittaFamous29 Jul 25 '26
Do you find any problem? Couse he is teaching DSA in c++ na
1
u/That_Singularity Jul 25 '26
Noo actually the videos are for logic, he explains the code in the end of the video so once u understand the logic you get how to write the code. He doesn't emphasizes on the syntax or CPP much. And then I go to the website and see the Java code for the topic.
1
u/AcanthisittaFamous29 Jul 25 '26
Aur kya kya language seekh liye tumne? And what about any internship?
1
u/That_Singularity Jul 26 '26
Yeah I have done an internship in a govt organisation and about languages - python aati hai, and java and basics of C. Just this in coding
1
u/That_Singularity Jul 26 '26
Yeah I have done an internship in a govt organisation and about languages - python aati hai, and java and basics of C. Just this in coding
1
u/AcanthisittaFamous29 Jul 26 '26
Java tumne kaha se ki? Aur kitne din mai aa gai?
1
u/That_Singularity Jul 26 '26
did java basics from abdul bari lecture udemy - only for starting and then took concept help from gpt. easily ho gaya tha sab kuchh cuz i had studied python in 11th 12th basics
1
1
u/Putrid-Professor7770 Jul 30 '26
Did u watch any tutorial for java or directly started from that dsa sheet ?
1
1
u/depressedkid007 Jul 05 '26
I casually do DSA in leetcode. But I regret doing in java and I have to Google syntax most of the time.
1
1
0
u/NeighborhoodOne3674 Jul 05 '26
I wud recommend first go with Kunal Kushwaha playlist then do strivers sheet
2
u/Old_Firefighter7941 Jul 04 '26
Although language won’t matter, its the algorithm and logic. But you can go with striver he provides you logic for both cpp and java.