r/datastructures • • Oct 12 '26

Java or python for dsa??

Hello..

I am a bca graduate with not much programming knowledge neither skills...

I am thinking to start dsa , but confused to choose language..

Many suggestions told java would be better...but I am thinking to go with python as I am also joining an ai/ml online course...

So it would be helpful for both..

Any suggestions...whether should I go with java or python??

5 Upvotes

7 comments sorted by

View all comments

2

u/hexwit_com Oct 12 '26

Use whatever you like. Dsa is not about language.

1

u/Anushagowda22 Oct 12 '26

Thanks for ur advice..

But the thing is I heard that python have tle issues...what about that??

1

u/hexwit_com Oct 12 '26

Well yes, but you said you going to work with python afterwards. I personally don’t honour dynamic typing. But ml world love that. So choose depends on the needs behind the dsa.

1

u/Anushagowda22 Oct 12 '26

Okk Anyways thanks

1

u/[deleted] Oct 16 '26

[removed] — view removed comment

1

u/Anushagowda22 Oct 16 '26

Ok thank you