home.social

Search

2 results for “anttijuu”

  1. The puzzle was the good old count the occurrence of words in a book problem, just with numbers instead of words. Used Swift Dictionary, .sorted, .prefix, .map and .reduce to get the correct answer. Part 2 was just flipping the > to < in sorted.

  2. I just completed "Dusty Shed" - Day 1 - Advent of Code 2026 adventofcode.com/2026/day/1

    Part 1 took 0.000310667 seconds, part 2 took 0.000258333 seconds (MacBook Pro M2, 16GB).

Share on Mastodon

Enter the server where you have an account.