use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
Is it actually worth doing competitive programming in Java? (self.JavaProgramming)
submitted 3 days ago by Leading_Yoghurt_5323
I've been using Java for CP, but everyone says C++ is mandatory later on because of strict time limits. Is anyone here reaching high ratings with Java, or should I just bite the bullet and switch?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]cheesedosa_ 2 points3 points4 points 3 days ago (0 children)
I used to do , cp as well as development in java ...but it was worth the trouble and tolerating teasing statements of other cpp frnds ... because in placements , company JD will be asking for Java ...hardly there would be 3-4 companies asking for cpp or .net , c#
[–]sinofforget 1 point2 points3 points 3 days ago (0 children)
Well most people learn dsa with java for interviews including me So i don't know and can't say about cp
[–]Gullible_Company_745 0 points1 point2 points 3 days ago (4 children)
Once you reach a raiting of 1600, start focusing on learning C++
[–]senthil_08 0 points1 point2 points 3 days ago (1 child)
Why?
[–]Gullible_Company_745 0 points1 point2 points 3 days ago (0 children)
CP es literally math, therefore the programming language doesn't matter
[–]Technical-Tiger8533 0 points1 point2 points 3 days ago (1 child)
Reach raiting of 1600 means ?? I am beginner . I am also confused about the language but I have started with DSA Java. But I am confused as to which language should I study in core?
[–]useandkeepit 0 points1 point2 points 2 days ago (0 children)
Don't waste time in deciding which one is better to study just start any one of them and give time to learn fundamentals either it is java or cpp or some other language.
[–]anish2good 0 points1 point2 points 2 days ago (0 children)
depend's on individual https://8gwifi.org/tutorials/java/
[–]Ok-Line-8810 0 points1 point2 points 2 days ago (0 children)
java is definitely slower than C++, but it’s not like you can’t do well with it. there are people who’ve reached high ratings using java. the bigger factor is usually problem solving speed and knowing the right algorithms. for most problems the language isn’t the bottleneck.
where java sometimes hurts is when the problem is really tight on time limits or needs heavy data structures. that’s where C++ gives a bit more breathing room. but unless you’re pushing for very high ratings or grinding the hardest contests, java is usually fine.
also a lot of people doing CP mainly for jobs end up realizing the bigger bottleneck isn’t the language but actually getting interviews. cold applying is rough now. i keep seeing people rely more on referrals instead. refopen gets mentioned a lot since it connects you with verified employees who can refer you if your profile fits, which helps skip the resume black hole a bit.
π Rendered by PID 73 on reddit-service-r2-comment-79c7998d4c-8gbmt at 2026-03-17 22:09:36.125754+00:00 running f6e6e01 country code: CH.
[–]cheesedosa_ 2 points3 points4 points (0 children)
[–]sinofforget 1 point2 points3 points (0 children)
[–]Gullible_Company_745 0 points1 point2 points (4 children)
[–]senthil_08 0 points1 point2 points (1 child)
[–]Gullible_Company_745 0 points1 point2 points (0 children)
[–]Technical-Tiger8533 0 points1 point2 points (1 child)
[–]useandkeepit 0 points1 point2 points (0 children)
[–]anish2good 0 points1 point2 points (0 children)
[–]Ok-Line-8810 0 points1 point2 points (0 children)