Skip to content

rvprasad/advent-of-code-2025

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent of Code 2025

This repo contains the code to solve the puzzles from 2025 Advent of Code. The README.md file in the folder for each day contains my observations when solving that day's puzzle.

Instructions

Unless day-specific README.md files contain specific instructions, use the following commands to execute the solution.

  • crystal dayX.cr <filename>
  • elixir dayX.exs <filename>
  • cargo run <filename>
  • scala dayX.scala -- <filename>
Days Crystal (v1.18.2) Elixir (v1.19.4) Rust (v1.91.1) Scala (v3.7.4)
1 1 2
2 1 2
3 1 2
4 2 1
5 1 2
6 1 2
7 2 1
8 2 1
9 1 2
10 * 1
11 2 1
12 2 1
  1. On Day 9, I found an odd bug in Crystal: (set1 | set2) - set3 contained elements from set3 when these sets contained objects of a custom class named Location that had two getters x: Int64 and y: Int64 along with custom equals and hash methods defined via the def_equals_and_hash() macro. I was not able to reproduce the same issue in a minimal setting. So, I am switching over to Ruby v3.4.7 instead of Crystal for the remaining days.

Attribution

Copyright (c) 2025, Venkatesh-Prasad Ranganath

Licensed under BSD 4-Clause “Original” or “Old” License (https://choosealicense.com/licenses/bsd-4-clause/)

Authors: Venkatesh-Prasad Ranganath

About

Advent of Code 2025 repo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published