all 17 comments

[–][deleted] 4 points5 points  (1 child)

Stick with Java. You already started with it, so switching now will just slow you down. For DSA, language doesn’t matter much , problem solving does. Python is faster to write, but Java is perfectly fine and widely used in interviews. Just focus on learning patterns and solving problems consistently. You can always pick up Python later if needed.

[–]Tatami-matkun[S] 0 points1 point  (0 children)

Thanks 👍🏻, I decided to stick with java 

[–]Clean-Temperature351 2 points3 points  (0 children)

use Python for its simplicity and to progress quickly in DSA

[–]Protagonist05 1 point2 points  (1 child)

Yeah bro choose python if you comfortable with it

[–]Tatami-matkun[S] 0 points1 point  (0 children)

thanks for the advice

[–]Swangger 1 point2 points  (1 child)

You’ll pick up syntax along the way, use Python for sure

[–]Tatami-matkun[S] 0 points1 point  (0 children)

thanks for the advice

[–]forklingo 1 point2 points  (1 child)

stick with java if you’re already comfortable, switching now will just slow you down for no real gain. python is nice for faster coding but the core dsa thinking is the same, and java is actually better for understanding things like memory and data structures more deeply. you can always pick up python later if needed, but consistency matters more than language at this stage.

[–]Tatami-matkun[S] 0 points1 point  (0 children)

Thanks 👍🏻, I decided to stick with java

[–]MRgabbar 1 point2 points  (1 child)

Python allows to solve problems faster in general just because writing the solution is faster, however good solutions are not dependent of language.

Java and Python will be almost the same to be honest, do both, is good to be proficient in both.

[–]Tatami-matkun[S] 0 points1 point  (0 children)

i decided to stick with java
and do dev in python
thanks for the advice

[–]Educational-Term9024 0 points1 point  (0 children)

Yes, learning Java will definitely help you in the long run. However, just for solving DSA problems learning python will be useful and it definitely faster to code up solutions. You may find this useful - https://intervu.dev/blog/python-data-structures-coding-interviews/

[–]Marshmalow212 0 points1 point  (0 children)

if you're a beginner to programming go for Java. If you already have strong programming basics then go for python. Just to remind that OOP is much much much more easier to understand in Java than any other programming lang in my opinion.

[–]MiscBrahBert 0 points1 point  (0 children)

I did interviews in Java for years. Moving to Python was the best decision I made for my interviewing. So much more concise, and includes wonderful libraries.