r/learnpython • • Nov 30 '20

Advent of Code

Advent of Code starts tomorrow. If you don't know, it's 25 programming puzzles released daily from the 1st-25th of December. It's a good way to practice Python if that's something you're interested in (or any other language, for that matter).

488 Upvotes

54 comments sorted by

View all comments

29

u/RobinsonDickinson Dec 01 '20

Are these easy problems? algorithms ?

36

u/darthminimall Dec 01 '20

The difficulty increases over time. In my experience, all of the problems are solvable with, at most, a bit of research.

25

u/__developer__ Dec 01 '20

I did it last year and the difficulty generally increased over time, but a few of the problems took me quite a bit longer than others. About half of the problems last year, the "Intcode" problems, were related to creating virtual computers that could interpret and execute simple commands that were sent to them. Its fun and a good way to practice a language and learn new algorithms.

10

u/xelf Elf Dec 01 '20 edited Dec 01 '20

Today's problems took about a minute to answer, and about 5 minutes to download the text: the server was so overloaded at first. But there will be some days where a problem might take some amount of googling before you can start coding. For example if you need a particular math formula but don't actually know it exists already, or that it's what you're looking for.

5

u/Sw429 Dec 01 '20

Yeah, you're bound to hit some 503s if you try to download it immediately when it opens like I did. This is a pretty popular challenge, especially now that it's in its sixth year.

4

u/xelf Elf Dec 01 '20

Part of that is brought about by rewarding people that are in the first 100 to complete. Hopefully it will slow down a bit as the problems take longer to solve. It certainly seemed fairly stable when it did come back up.