Skip to content

Yukams/advent-of-code-2023

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

advent-of-code-2023

My answers to AdventOfCode2023

About

Advent of Code is an Advent calendar of small programming puzzles for a variety of skill sets and skill levels that can be solved in any programming language you like. People use them as interview prep, company training, university coursework, practice problems, a speed contest, or to challenge each other.

https://adventofcode.com/2023/about

Status

Day 1 : ✅ part1 ✅ part2

Day 2 : ✅ part1 ✅ part2

Day 3 : ✅ part1 ✅ part2

Day 4 : ✅ part1 ✅ part2

Day 5 : ❌ part1 ❌ part2

Learned a new algorithm : Recursive Binary Search for ranges (Reddit comment)

Why I failed : I did not check if the ranges did not overlap, so I tried to map naively 1:1 for each transform list.

Day 6 : ✅ part1 ✅ part2

Day 7 : ✅ part1 ✅ part2

Day 8 : ✅ part1 ❌ part2

Learned a new algorithm : LCM (Reddit post about the reasons it works for this problem)

Why I failed : I did not check if the mapping was looping and hence, did not think about any clever way to resolve the second part of this problem.

Day 9 : ✅ part1 ✅ part2

Learned a new algorithm : Next element in a sequence

About

My answers to AdventOfCode2023

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages