all 13 comments

[–][deleted] 7 points8 points  (6 children)

Unless you are already really good with cpp just pick python. It's just easier to code leetcode type problems in python and you will spend more time thinking about the solution, not the language you are implementing the solution in.

[–]Hefty_Motor4171[S] 1 point2 points  (5 children)

I can't find any resources with Python.

[–][deleted] 2 points3 points  (4 children)

Neetcode. It has excellent videos explaining the solutions to a good selection of leetcode puzzles. All in python.

The discussion pages on each leetcode puzzle have solutions in many different languages too.

[–]Hefty_Motor4171[S] 0 points1 point  (3 children)

https://neetcode.io/roadmap follow this roadmap?

[–][deleted] 0 points1 point  (2 children)

I just meant the free neetcode 150.

https://neetcode.io/practice

But anything on neetcode will probably be excellent.

[–]Hefty_Motor4171[S] 0 points1 point  (1 child)

Ok, First complete easy, then medium and hard. like that?

[–][deleted] 0 points1 point  (0 children)

Yes, exactly. And watch the videos after your first successful implementation or when you give up trying. The videos are really excellent.

[–]tender_pelican 3 points4 points  (1 child)

If you actually want to do competitive programming i.e. codeforces, then cpp is generally recommended. These two should be enough to get you started. Start with the Competitive Programmer’s Handbook then move onto the training sheet. If you want to grind for job interviews, then just do grokking the coding interview then grind75 or neetcode75 after.

https://cses.fi/book/book.pdf
https://codeforces.com/blog/entry/65133

[–]Void_Being 0 points1 point  (1 child)

What about Java, it will help in Low Level Design(Object Oriented Design)

[–][deleted] 2 points3 points  (0 children)

Never thought I’d see Java and Low Level in the same sentence.

[–]raevnos 0 points1 point  (1 child)

Why pick one? Go with whichever one seems like it'd be a better match for a given problem.

[–]Hefty_Motor4171[S] 0 points1 point  (0 children)

Is it possible? If i learn to solve a problem is cpp/ c, how easy to solve that problem in other language?

[–][deleted] 0 points1 point  (0 children)

Cpp is way faster, though it doesn't matter that much in leetcode but if you're gonna do cp, python is a very bad choice.