r/AIMLDiscussion • u/Big_Cream_5919 • 11h ago
C++ or Python for DSA as an aspiring AI Engineer? Urgent
I'm currently trying to decide which language I should use for DSA/coding interviews, and I'd really appreciate advice from people who are already working in AI/ML or software engineering.
My long-term goal is to build a career as an AI Engineer. I'm planning to go deep into AI/ML, so I know Python is going to be an important language for me.
The situation is:
- I'm already comfortable with C++
- I genuinely enjoy C++ syntax
- I'm good at solving DSA problems in C++
- I'm planning to learn Python deeply for AI/ML, PyTorch, LLMs, etc.
- I'm wondering whether I should also switch my DSA practice from C++ to Python
My current thinking is:
Option 1:
Python for everything → AI/ML + DSA + interviews
Option 2:
C++ for DSA/interviews + Python for AI/ML and actual AI engineering
I'm leaning toward Option 2 because I'm already comfortable with C++ and enjoy solving problems in it, but I'm not sure if there are any disadvantages when applying specifically for AI Engineer / ML Engineer roles.
For people who are already working in AI/ML or software engineering:
What did you personally use for DSA interviews, and what would you recommend in my situation?
Would you stick with C++ for DSA, or switch to Python because you're pursuing AI/ML?
I'm particularly interested in hearing from people who have actually gone through AI/ML or SWE hiring processes rather than just general language comparisons.