adventOfCode2022/UnstableDiffusion.kt at master · sukes13/adventOfCode2022

Contribute to sukes13/adventOfCode2022 development by creating an account on GitHub.

GitHub
adventOfCode2022/MonkeyMap.kt at master · sukes13/adventOfCode2022

Contribute to sukes13/adventOfCode2022 development by creating an account on GitHub.

GitHub

My solution for day 21... Did part 2 by solving one of the Root-monkeys values and then solving the reversed of the leftover-operations with it. Runs in <50ms.

#AdventOfCode2022 #AoC22 #Kotlin

https://github.com/sukes13/adventOfCode2022/blob/master/src/main/kotlin/be/fgov/sfpd/kata/aoc22/day21/MonkeyMath.kt

adventOfCode2022/MonkeyMath.kt at master · sukes13/adventOfCode2022

Contribute to sukes13/adventOfCode2022 development by creating an account on GitHub.

GitHub
adventOfCode2022/GrovePositioningSystem.kt at master · sukes13/adventOfCode2022

Contribute to sukes13/adventOfCode2022 development by creating an account on GitHub.

GitHub

My solution for day 19...

Solved by checking all possible states the mining-process can be in during a given number of minutes and find the maximum number of geodes in all 'endstates' + optimizations to reduce number of states. #AdventOfCode2022 #AoC22 #Kotlin

https://github.com/sukes13/adventOfCode2022/blob/master/src/main/kotlin/be/fgov/sfpd/kata/aoc22/day19/NotEnoughMinerals.kt

adventOfCode2022/NotEnoughMinerals.kt at master · sukes13/adventOfCode2022

Contribute to sukes13/adventOfCode2022 development by creating an account on GitHub.

GitHub

Late recap on #aoc22:

Fail: far from finishing the whole challenge. I made it to day 10 until sickness catched me. After recovering I lost the motivation.

Success: I wanted to learn #rust. And I did. Now I feel confident to use this language for other projects. I learned enough to have an idea about its strengths and where it might fit.

Last day of Advent of Code! (was yesterday, but Christmas got in the way.) I solved it without calculating the "snafu" number, just manipulating digits like you would in a normal numbering system. My C source code: https://github.com/ednl/aoc2022/blob/main/25.c or see image. The challenge was: https://adventofcode.com/2022/day/25 (needs login, I'm afraid).

#adventofcode #aoc22 #clanguage

aoc2022/25.c at main · ednl/aoc2022

Advent of Code 2022. Contribute to ednl/aoc2022 development by creating an account on GitHub.

GitHub
Good bye #rust 👋 - at least for day 13 of #adventofcode - going for #typescript today
👍eval did the input parsing
😁no idea how I would implement the number|number[] type in rust - easy in typescript
🤷‍♂️ the problem called for recursion if you ask me - could not convince the rust compiler to let me do it… #aoc22

Fun little embedded software challenge in today's Advent of Code, with clock cycles and pixel beams. Got it down to 32 lines of C code without comments/blank lines! My solution here: https://github.com/ednl/aoc2022/blob/main/10.c or in attached image.

#AdventOfCode #AoC22 #Embedded #software #programming

aoc2022/10.c at main · ednl/aoc2022

Advent of Code 2022. Contribute to ednl/aoc2022 development by creating an account on GitHub.

GitHub
every #AdventOfCode I get caught up in meta stuff between puzzles, previously I've added some functionality to view stats based on lines of code and character counts of my solutions, but how hard would it be to measure cognitive complexity in javascript?
#AoC2022 #AoC22 #javascript