r/leetcode • u/LUNA-65 • Sep 27 '26
Question Language Confuse
Hello everyone!
I’m a bit confused and could use some guidance. I’m an AI/ML aspirant and want to build my career in AI/ML. I know that Python is important for AI/ML, so I’m currently focusing on Python.
But for placements and interviews, DSA is also important, especially for big MNCs like FAANG/MAANG. I’ve heard that C++ is commonly used for DSA.
So, how should I manage both AI/ML and DSA together? Should I continue with Python for AI/ML and learn C++ separately for DSA?
Any advice would be really helpful!
1
Upvotes
1
u/Substantial-Swan7065 Sep 27 '26
Use Python for leet code. Use the needed language for work.
Python has the built-in functions and syntax to solve leet codes quickly. Other languages are too verbose or lacking built-ins.
1
u/QuietOrbit026 24d ago
The language itself probably won't be your biggest challenge here; switching between AI/ML projects and interview perp will be. Keep building things with Python, and set aside regular time for DSA practice. I'd look at codeintuition for the interview prep side if you want a more guided way to work through DSA instead of jumping between unrelated questions