Should I Switch to Python or C++ for DSA Prep?

0
21
Asked By TechieGuru92 On

Hey everyone! I've been in the IT field for over 8 years, working as a full stack developer, and while I have some experience with C# .Net Core, Angular, and SQL, I feel like I need to ramp up my skills in data structures and algorithms (DSA) as well as system design. I'm planning to change jobs soon and want to prepare effectively over the next 3 to 6 months. I know that the programming language isn't the most important factor—it's about solving problems efficiently—but I'm curious whether I should explore other languages like Python or C++ to practice DSA problems on platforms like Leetcode. Any suggestions would be greatly appreciated!

3 Answers

Answered By CPlusPlusPath On

I suggest starting with the basics of C++, then progressing to Python. This way, you get a solid foundation first, and Python is much easier to pick up afterward. I did the same—transitioned from being a dentist to a Full Stack Python Developer, so I believe you can definitely manage it too!

Answered By PythonFanatic21 On

Python is definitely a solid choice! It's really user-friendly and versatile—you can even use it for front-end development if you're interested. Even though it's not my personal preference, I've had a lot of success with it over the years. Plus, it's quite powerful once you get the hang of it!

Answered By DevExplorer88 On

If it’s primarily for Leetcode, I’d recommend sticking with Python. However, if you're looking to broaden your horizons, consider learning Go. As an experienced developer, you’d appreciate how straightforward it is. It’s built for efficiency and reduces the hassle of constant migration. Fun fact: Anders Hejlsberg, the creator of C# and TypeScript, recently started using Go for the TypeScript compiler!

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.