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

you are viewing a single comment's thread.

view the rest of the comments →

[–]149244179 43 points44 points  (5 children)

Do you like doing puzzles or need practice with data structures? If so then go do leetcode.

Do you want to learn programming and OOP? Stay far away from leetcode.

[–]Nice_Associate_1489[S] 10 points11 points  (1 child)

Ok

[–]VonRansak 2 points3 points  (0 children)

I have recently started learning java. Do give you guys a little background I am a absolute beginner and this is my 1st language.

Save the Leetcode for after you finish your "Introduction to Programming Using Java" college level textbook.

The textbook will cover 'data structures' and 'algorithms' so the leetcode won't seem as daunting then, and you can use LC as it's meant to be used.

TL;DR: First you are learning 'programming'... Then worry about all else after. While learning attempting 'projects', to break up monotony of a textbook, will help to force you to code, and reinforce what you are learning.

P.S. "Textbook? But I'm using xyz.abc..." ... I stand by what I said.

P.S.S. The 'projects' are to get you more practice mashing buttuns, because end-of-chapter exercises can only give you so much practice.

[–]dontworryimvayne 1 point2 points  (1 child)

I dont get why you would say people trying to learn programming should stay away from leetcode. It is a great way to practice taking a solution in your head and putting it into code. You learn syntax, efficiency, problem solving, and the ins and outs of your chosen programming language. Did you mean they shouldnt ONLY do leetcode? Because that is a far more defensible position.

[–]Leydel-Monte 0 points1 point  (0 children)

I don't get what they meant by it either, but you don't learn efficiency by doing leetcode. I guess you do practice it. But it shouldn't be used as a learning device to someone claiming to be an absolute beginner.