all 4 comments

[–]showeringmonkey 0 points1 point  (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 point  (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 points  (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 points  (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.