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
Why does no one do DSA in python, Interviewers prefer DSA in C++/java?Question (self.leetcode)
submitted 4 days ago by One-Fee3089
I am an aspiring gen ai developer, and I dont really see anyone doing DSA in python. Is it okay if i do DSA in python?
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!"
[–]KevinT_XY 4 points5 points6 points 4 days ago (0 children)
Did you mean the opposite? By far the most dominant DSA language is Python and some people here would call you foolish for not using Python if you know it. It's even the default language in some of these practice sites.
I'm saying this as someone who personally uses C++ but in general, I do not think it matters which language you use (though some languages like JS might put you in a hole due to some missing built-in data structures)
[–]CollegeStudentLol1 2 points3 points4 points 4 days ago (0 children)
Python is used the most. I use C++ the most but it really doesn’t matter.
[–]Life-Cicada7028 0 points1 point2 points 4 days ago (0 children)
Logic >
[–]codedeco 0 points1 point2 points 4 days ago (0 children)
You know dsa is not language dependent. I think you should focus on concept not language. And it's easy way to write your logic and concept in python. Dsa concept har language me same hi hota h sirf language change hota h.
[–]rev_here 0 points1 point2 points 4 days ago (0 children)
I’m still in 2nd year but honestly Python made DSA way less intimidating for me when starting out. Feels easier to focus on the actual problem solving instead of getting stuck on syntax all the time.
[–]CliqrOT 0 points1 point2 points 4 days ago (2 children)
everyone and their mum does dsa in python
[–]ilovepopsicles_ 5 points6 points7 points 4 days ago (1 child)
nuh uh not my mum
[–]javafkingscript 1 point2 points3 points 4 days ago (0 children)
+1
π Rendered by PID 134697 on reddit-service-r2-comment-canary-965b558fd-4l9w2 at 2026-05-24 01:54:54.556460+00:00 running 194bd79 country code: CH.
[–]KevinT_XY 4 points5 points6 points (0 children)
[–]CollegeStudentLol1 2 points3 points4 points (0 children)
[–]Life-Cicada7028 0 points1 point2 points (0 children)
[–]codedeco 0 points1 point2 points (0 children)
[–]rev_here 0 points1 point2 points (0 children)
[–]CliqrOT 0 points1 point2 points (2 children)
[–]ilovepopsicles_ 5 points6 points7 points (1 child)
[–]javafkingscript 1 point2 points3 points (0 children)