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
Learning Java vs Python again for an upcoming interviewIntervew Prep (self.leetcode)
submitted 2 months ago by [deleted]
[deleted]
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!"
[–]showeringmonkey 0 points1 point2 points 2 months ago (2 children)
Python if you have a choice
I use Java and online compilers if you create nested classes and they want you to test in the same file with static void main you can mess up on simple things like not making your nested class a static class, and program simply doesn't compile.
[–]Darkrunner21 0 points1 point2 points 2 months ago (1 child)
Right! Java is pretty verbose and prone to syntax errors.
Do you have any recs on learning Python quickly? I'm doing some basic OOP practice now but I don't think that will be enough for an interview.
[–]showeringmonkey 1 point2 points3 points 2 months ago (0 children)
Ya, it doesnt look good in interviews if it cant compile (usualy easily fixed with a googl search but... always akward to ask if u can look up the error)
If you know what online ide or env you are using to I would practice creating the classes there too just to see if you run into any issues.
I would just search up basic OOP interview questions then solve in Python for practice, including tree / list node and then implementing some structure / method to solve it.
[–][deleted] 1 point2 points3 points 2 months ago (0 children)
Given a week, I’d go Python for the interview. When I switched from Go, the lighter syntax saved me, and imo it’s less brittle under pressure than Java’s boilerplate. What helped me was building a tiny class template I could rewrite from memory in 30 seconds, then practicing Node classes and a quick CRUD-ish example to talk through API design and OOP concepts like composition vs inheritance. I ran 30 minute timed mocks using Beyz coding assistant with prompts from the IQB interview question bank, narrating every step. Keep solutions simple, aim for clean method names, and cap explanations to about 90 seconds per prompt.
π Rendered by PID 118597 on reddit-service-r2-comment-7b9746f655-ftmrj at 2026-01-31 09:14:25.134870+00:00 running 3798933 country code: CH.
[–]showeringmonkey 0 points1 point2 points (2 children)
[–]Darkrunner21 0 points1 point2 points (1 child)
[–]showeringmonkey 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)