I'm currently learning data structures and algorithms (DSA) and started with Java, but I found it a bit lengthy. I then tried C++, which I wasn't very comfortable with, and now I'm using Python since I like its syntax. My long-term goal is to enter the data analytics field, and I've heard from my college placement cell and seniors that I should consider switching to C++ or Java because some companies don't accept Python in technical interviews. Is this true? Should I stick with Python or explore other languages?
2 Answers
If your goal is data analytics, I recommend you stick with Python, and definitely add SQL and maybe graphQL too. Most analytics work is done in Python or R, so interviews will likely lean toward those languages. If you're aiming to build applications or similar projects in the future, you might then consider picking up a typed language like Java or C++.
When it comes to learning the concepts of DSA, the programming language you choose isn't what matters most—those concepts are universal across languages. However, for job interviews, being familiar with various languages can be beneficial. You could learn Java or C++ while continuing to work on DSA in Python; that way, you cover all your bases!
I’m focused on getting a job too, but I’ve heard varying opinions about companies not accepting Python in interviews. Does anyone have insights on this?

So should I start with learning C++ or Java alongside DSA, or focus solely on Python for now?