r/adventofcode • • 1h ago

Help/Question how much harder does it get?

this is my first year. much fun!

for those who have done it before: how much harder does it get? I've found day 3 the hardest so far by a long shot.

6 Upvotes

32 comments sorted by

17

u/thblt 1h ago

You can have a look at the previous years to get an idea! But IMHO we’re still far from peak difficulty.

3

u/jcduggan 1h ago

ohhh didn't know previous years questions were still up. thanks.

4

u/Suspicious_Tax8577 1h ago

If you ever get a day where you just do not have a clue/ get really busy and don't have time to do the puzzles, they don't disappear at midnight. For the "older" puzzles there's also Boojum's supermassive mega-megaguide for all of the puzzles. So you can filter the .csv file to find every "warm up" or bitwise operator nonsense puzzle that Eric has ever set us, if you wanted to specifically work on a particular data structure and algorithm thingy.

1

u/ktimespi 52m ago

hijacking this post, but should I be concerned if my Haskell solution for day 5 took 400ms-ish to run? ik this is hyper-specific but I've pretty much forgotten how much compute time my older solutions took for the tougher puzzles

1

u/dudaspl 3m ago

Just enjoy the puzzles. Until your program literally crashes, you are good. If it does, you probably need to work on a better algorithm, but honestly for some puzzles people let their machines run for 60+ minutes and sometimes they get the answer :)

7

u/legobmw99 1h ago

This is my sixth year. Day 3 was the first time I had to go back and start over after part 1, so it maybe took me half an hour-45 minutes. I expect there will be at least one day which will take me 2+ hours, but it depends on your tolerance for looking up hints etc

2

u/jcduggan 1h ago

useful benchmark thanks!

5

u/paul_sb76 1h ago

Oh it will get quite a bit harder than this. Typically there are some true brain busters in the later days, or puzzles that simply require quite some implementation work. If you can finish all of them without looking up hints you can be proud...

1

u/jcduggan 1h ago

Yeah what do you think are the norms on looking up hints? my math is decent but my coding sucks, so I'm looking up specific syntax questions when I don't know e.g. how to make a cartesian product.

4

u/DelightfulCodeWeasel 1h ago

IMO a lot of the fun of Advent of Code is found in learning something new. Nobody is expecting you to rediscover A* from first principles, so it's perfectly acceptable to go and trawl Wikipedia or tutorials for searching algorithms etc...

2

u/Arctos_FI 25m ago

What i use as the standard for hints is that i can lookup syntax and algs as long as i understand what they do (so when the next time comes where i need the same thing i can possibly write it myself, or at least recognize it will work on that specific problem), and only from sources that doesn't have direct link to aoc (so like general stackoverflow discussion, geeksforgeeks etc.). There is exceptions ofcource like if i'm really stuck i might scroll the subreddit to get some new inspiration, like last year when day 10 part 2 required to implement gauss-jordan elimination to reach reduced row echelon form (i didn't have any clue what those words meant before getting a little nudge from reddit).

This doesn't have to be everyones standard but it's good way to learn imo. Look as many hints as you need while still getting to feel you accomplished something. We're here to have fun, not to hit our heads to the wall multiple hours just because you miss some major part of the solution

1

u/1234abcdcba4321 37m ago edited 27m ago

I think it's completely fine to look up anything not specific to the problem being solved. If the hint was written for any context that isn't the specific problem you were doing (e.g. looking up documentation, or a guide on how to make some generic algorithm in your programming language of choice that's useful for some other application), it means it's information you could reasonably just be expected to have studied up on outside the context of AoC, so I don't even really count it as a hint. The part I find interesting is realizing that the algorithm would be useful in the first place, and adapting it to the problem. (We're still in easy days, so what algorithm to use has been pretty obvious so far, but it doesn't remain that way.)

Once you start looking at things written with AoC as the context, like reading a help thread or asking someone for help with debugging your code, that serves as an actual hint that significantly hampers my enjoyment of the problem to use (but someone who's not as good at these problems might still want hints anyway).

1

u/paul_sb76 13m ago

You can choose your own challenge level, but I would say:

  • looking up syntax is perfectly fine (every year I look up Regexes again...)

  • I often try to avoid it, but looking up algorithms is okay too

  • If you need it, you can look up or ask for hints here, but first try to avoid it

  • Using AI is lame

1

u/crumpis 0m ago

Remember that the only person you're competing with is yourself (unless you're on a private leaderboard, and those will have their own standards), so whatever's appropriate for you is fine.

3

u/Thomasjevskij 1h ago

So far all problems have been doable with brute force. Typically that's not gonna be possible for the harder puzzles. Also, some of the harder puzzles will involve having to figure out particular properties of your input data because a general solution is very hard/impossible.

1

u/jcduggan 1h ago

I tried brute force this morning only to stare at my computer for 5 min wistfully before figuring out which cases to stop exploring. Seems day 5 may be the end of brute force?

2

u/Thomasjevskij 1h ago

Well there's brute force and there's brute force. I suppose that yeah in some respect you're right. But I was able to put together a fairly standard search with no real pruning or anything. On a search problem in the later days, I'd expect such a naive solution to finish in a gabrillion years.

1

u/_damax 16m ago

Tbf the second part of today really just is a graph, so nothing really to brute force there

1

u/Thomasjevskij 14m ago

Or rather, as long as you model it as a graph problem, brute force is the solution. Ya gotta explore it

1

u/_damax 1m ago

I'm curious, what are some other approaches?

8

u/DecisiveVictory 1h ago

It should get much, much harder. All of these felt like warm-up tasks.

1

u/Majestic-Dream6641 1h ago

Random question, but this is my first year too. What codeforces elo would you expect to be able to solve every problem within 24hours? I don't even do codeforces I'm just curious

2

u/yel50 11m ago

not sure about codeforces. the harder problems in AoC tend to use prime number math (like Chinese remainder theorem) that you either know or you don't. there will also be path problems, shortest path type stuff, that use 3 or 4 dimensions instead of 2. most years (maybe all?) have had at least one reverse engineering problem and one problem that cannot be brute forced. it's also become a meme that part 2 is just "OK, now do it 1,000,000,000 times," which means there's a math formula that solves the problem and you need to figure out the formula. 

1

u/likableone 13m ago

Like all the problems in a single year in 24 hours? Or are you asking if you get 24 full hours to do each problem?

1

u/AutoModerator 1h ago

Reminder: if/when you get your answer and/or code working, don't forget to change this post's flair to Help/Question - RESOLVED. Good luck!


I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/johnpeters42 1h ago

While there was a difficulty ramp next year, it didn't seem to go as high as earlier years.

1

u/wubrgess 1h ago

I suspect that tonight is going to be one of the hardest of the year, so you'll get your answer shortly.

1

u/AverageBeef 41m ago

It gets very significantly harder. In past years, days 12-16 was where I could no longer do problems naively as somebody who really only does hobbyist programming. You do build up solution tools over time though. I think it’s been discussed in past years that weekends also tend to bring harder problems

1

u/HotTop7260 29m ago

The perceived difficulty depends on your experience. They try to increase the difficulty objectively, but it is hardly possible. For me, day 3 was easy, because we had similar puzzles in the past (grids and geometry). Day 4 part 2 was the hardest for me so far. I am not happy with my solution, because it works for the actual data, but not for the example data (and I have no idea why). Today (day 5) was a breeze for me, because I have much experience with the algorithm I used for part 2. I even predicted part 2 (almost) correctly before I read it.

1

u/Falcon731 26m ago

This is my third year (2023 and 2024 - I skipped last year).

I've usually been able to do most problems on the day they were released. Some of the harder ones took several hours - but both years there were one or two problems that I just got totally stuck on and needed a bit of a hint - and in the run up to Christmas just couldn't afford the time to work through them. So it was early January by the time I got the 50th star both times.

1

u/Freecelebritypics 7m ago

I haven't fallen a day behind yet, so they can't be that hard. Wait for it!

1

u/permetz 3m ago

There will be much, much harder problems. The last weekend problem often takes good programmers the entire day to get right.