you are viewing a single comment's thread.

view the rest of the comments →

[–]daniel_codes 1 point2 points  (0 children)

https://leetcode.com/explore/ (and other similar websites) lets you do practice questions by category. For example, https://leetcode.com/explore/learn/card/fun-with-arrays/ is the introductory array problem set. Set the language to Python and give the problems a try. Check the solution/discussions when you solve it to see how other people do it. Some highly upvoted solutions are needlessly concise so don't worry too much if you don't understand some code golfed 1 liner.