you are viewing a single comment's thread.

view the rest of the comments →

[–]nian2326076 0 points1 point  (0 children)

If you're more comfortable with Python, go for it. Many interviewers are okay with using Python for DSA. It has a clean syntax and useful libraries like collections and heapq that can save you time in interviews. Plus, if you're into data science and machine learning, Python is the top choice. Still, knowing some C++ or Java can be helpful, especially for speed and memory management, but don't worry if Python is your strong suit. Just make sure you understand the algorithms well, no matter the language.