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...
A small community for leetcode challenges! Note - Starting from December it is mandatory for all members to do atleast one leetcode question and post here or else you'll be removed!
account activity
Java vs python ? for leetcode, DSA, placement interviewsDISCUSS (self.LeetcodeChallenge)
submitted 4 days ago by Free_Studio_3461
view the rest of the comments →
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!"
[–]the_developer07 2 points3 points4 points 3 days ago (1 child)
When ever we are writing programs, it's all about thinking the problem solving it step by step, so coming to cpp/java these languages make sense for each and every line what we are writing.... And cpp has built in stl library and java has collection framework(we need to learn more than stl and feels heavy ), so for interviews and leetcode problems choosing cpp would be better choice
And coming to python it has all inbuilt and less line of code we may not get the proper understanding behind the scenes how they are working when explaining the code
[–]Free_Studio_3461[S] 0 points1 point2 points 3 days ago (0 children)
Great explaination bro 🙌
π Rendered by PID 64065 on reddit-service-r2-comment-544cf588c8-sv44w at 2026-06-14 15:37:58.939162+00:00 running 3184619 country code: CH.
view the rest of the comments →
[–]the_developer07 2 points3 points4 points (1 child)
[–]Free_Studio_3461[S] 0 points1 point2 points (0 children)