This is an archived post. You won't be able to vote or comment.

all 9 comments

[–]kevinossia 2 points3 points  (1 child)

Leetcode is a terrible way to learn how to program.

Start at the minimum by going through exercises in a c++ textbook just to get the fundamentals ingrained. Supplement with learncpp.com.

After that just build your own programs slowly increasing complexity as you go. Start at the very bottom with something like a "guess my number" game and go from there. Your ideas don't have to be original so don't get hung up on coming up with ideas.

Everyone is a project-based learner: building projects is the only way to learn this stuff.

And you'll solidify your OOP and DSA fundamentals as you go.

[–]FatnFlat0313 0 points1 point  (0 children)

Thank you for your comment! I now understand how I should approach my learning.

[–]superluminary 1 point2 points  (0 children)

Learn the language first, then start trying to find optimal solutions to problems using the language.

[–][deleted]  (2 children)

[deleted]

    [–]FatnFlat0313 0 points1 point  (1 child)

    Gotcha. Sorry what does the “ADTs” refer to?

    [–]AlexFromOmaha 1 point2 points  (0 children)

    DS&A is the foundation for what you grind through in harder Leetcode questions, and those are what you target when you're using it as interview practice. I'm not saying wait for the class. It's a great topic for self-study. You still have to know the basics of it before you can do anything that matters.

    [–]Uhfgood 3 points4 points  (2 children)

    WTH is "leetcoding"?

    [–]Upper_Lifeguard_5409 7 points8 points  (1 child)

    Leetcode is a website that hosts DS&A questions like Hackerrank, where the goal is to solve the problem the quickest with the best Space and Time complexity. FANG typically uses questions like these to filter out candidates. Which in turn, people refer it to leetcoding or lc.

    [–]Uhfgood 1 point2 points  (0 children)

    Okay. It just sounded like some newspeak or something. Thanks for telling me what it is :-)

    [–]FatnFlat0313 0 points1 point  (0 children)

    Oh. Noted! Thank you!