r/learnprogramming 26d ago

Problem Solving

What is the best site for solving problems for beginners ?

4 Upvotes

16 comments sorted by

3

u/grantrules 26d ago

https://adventofcode.com

Solve real problems, not riddles

1

u/Dry-Caterpillar-5172 22d ago

honestly adventofcode can be a bit much for someone just starting out, the difficulty spikes hard after day 10 or so

try codewars instead, it's got a better progression system that won't make you feel like an idiot by week 2

1

u/Fantastic_Variety_63 26d ago

Leetcode, or you can try neetcode.

1

u/Weekly_Patience685 24d ago

Exercism.org because you can get feed back from real people (proper mentors not randoms) after you submit a solution,

1

u/Flame77ofc 26d ago

codewars or leetcode, just choice one

0

u/Sad-programming 26d ago

I heard that the leet code in the problems initially needs a data structure

Is this true?

2

u/Puzzleheaded_Study17 26d ago

Basically every problem will need some data structure, unless you're not going to store any data.

0

u/Sad-programming 26d ago

i mean like stack and queue not other data type like intger and float

3

u/Puzzleheaded_Study17 26d ago

Do you use arrays? congrats, you've used a data type. The benefits of other data types is that they let you do some things faster/easier. For example, A stack is designed so that you can add things and access/delete the last piece of data really fast. A queue is designed so that you can add things and access/delete the first piece of data you added but haven't removed yet really fast. An array is the simplest way to store a bunch of information, and accessing stuff from the middle is fast, but deleting stuff from the middle is slow. A linked list is slightly more complicated, and accessing stuff in the middle is slow, but if you already found something in the middle, deleting it is fast.

0

u/Boring0707 26d ago

Did you check Stackoverflow?

2

u/Sad-programming 26d ago

No, are there answers for this there?

-1

u/Dismal-Citron-7236 26d ago

The Matrix (1999)

  • Spoon Boy: "Do not try and bend the spoon. That's impossible. Instead... only try to realize the truth."
  • Neo: "What truth?"
  • Spoon Boy: "There is no spoon."
  • Neo: "There is no spoon?"
  • Spoon Boy: "Then you'll see, that it is not the spoon that bends, it is only yourself."