Skip to main content

Search

Items tagged with: AdventOfCode


Solved Day 5 Part A of Advent of Code in Go. First solution worked on test input but overestimated individual input answer by roughly 200%. Went back with an alternative solution which worked first time. Still not sure why first solution didn't work but there's too much input to start debugging. Also got test fixtures working and wrote a function which returns an error for the first time.

Solution:

github.com/godev-uk/advent-of-…

Tests:

github.com/godev-uk/advent-of-…

#AdventOfCode #GoLang


Besides my tea calendar, I've also been taking part in Advent of Code, and gotten further than ever before. I'd really taken the time to fully get comfortable with Scala 3, since I'd largely started using Haskell for my personal projects. Feels a lot nicer to write in than Scala 2, so I'm pretty happy with it.

We'll see how long I stick with it (I've never made it past day 2 previously) but I've put my solutions on github github.com/nichobi/advent-of-c…

#AdventOfCode #AoC #Scala #FunctionalProgramming


Viides Advent of Code -päivä alkoi orastavan flunssan pauloissa. Tämän päivän haaste oli ensimmäinen, joka vaati vähän enemmän miettimistä. Lieneekö johtunut flunssasta, mutta minulla oli vaikeuksia ymmärtää koko tehtävänantoa. Monta kertaa sai lukea läpi ennen kuin tajusin, mitä siinä pyydettiin.

Iso osa ajasta meni ratkaisun miettimiseen. Varsinainen koodi oli nopeasti naputeltu. Miettiminen kannatti, sillä sain oikeat vastaukset kumpaankin osaan ensimmäisellä yrityksellä ☺️

saaste.net/muuta/ohjelmointi/a…

#ohjelmointi #AdventOfCode #AdventOfCode2024


I just completed "Ceres Search" - Day 4 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/4

github.com/drgeraint/adventofc…


🤔Problem: You like the idea of #AdventOfCode but you have tons of outstanding #GitHub issues!

🤗Solution: Install the below bookmarklet (copy code into the address field of a bookmark) and turn any GH issues page into an advent calendar!

Code: gist.github.com/tylermorganwal…

#RStats #python #coding


I always remember that Advent of Code is happening about halfway through December, and feel like it's not worth trying at that point. So, here's your reminder:

adventofcode.com/

Starts at midnight, EST. About four hours from when this was posted.

25 days of programming puzzles, ranging from very easy to pretty hard. One puzzle a day until Christmas. It's a good opportunity to learn a new language, or polish your skills in one you already know. I'll be doing the puzzles in #rustlang this year.
#adventofcode #programming #coding #rust