filmov
tv
Advent of Code 2022 Day 13 Solve
Показать описание
Recording of me solving day 13 of Advent of Code 2022 in Python. Finished rank #33 and #13 for each part.
Finish times:
Part 1: 5:49
Part 2: 7:55 (+2:06)
Relatively straightforward implementation today, part 1 was pretty much "here are some rules for comparing elements", and part 2 was "sort all the elements with these comparison rules". I stumbled a bit on part 1 because I couldn't make up my mind with how to structure my code, since I was worried I'd have to modify it in part 2 and didn't want to write _completely_ awful code. For part 2 I just wrote a bubble sort from scratch because I thought it'd be the fastest to write.
0:00 - Part 1
5:54 - Part 2
8:00 - Commentary
9:43 - Explanation
Finish times:
Part 1: 5:49
Part 2: 7:55 (+2:06)
Relatively straightforward implementation today, part 1 was pretty much "here are some rules for comparing elements", and part 2 was "sort all the elements with these comparison rules". I stumbled a bit on part 1 because I couldn't make up my mind with how to structure my code, since I was worried I'd have to modify it in part 2 and didn't want to write _completely_ awful code. For part 2 I just wrote a bubble sort from scratch because I thought it'd be the fastest to write.
0:00 - Part 1
5:54 - Part 2
8:00 - Commentary
9:43 - Explanation
Advent of Code 2022 Day 1 | Kotlin
Solving for the Largest Summation of Numbers - Advent of Code 2022 Day 01
Advent of Code 2022 Day 6 (#17/#10) Walk-Through
Advent of Code 2022 - Day 1
Advent of Code 2022 Day 1 Walk-Through
Advent of Code 2022 Day 10 | Kotlin
Advent of Code 2022 - Day 0
Advent of Code 2022 - Day 15
Advent of Code 2022 - Day 25
Advent of Code 2022 Day 7 | Kotlin
Advent of Code 2022 - Day 1
Advent of Code 2022 Day 11 | Kotlin
Advent of Code 2022 Day 9 Walk-Through
Advent of Code 2022 Day 7 (#18/#14) Walk-Through
Advent of Code 2022 Day 24 'Blizzard Basin'
Advent of Code 2022 - Day 19
Advent of Code 2022 Day 16 Walk-Through
Advent of Code 2022 - Day 6
Advent of Code 2022 Day 19 Walk-Through
Advent of Code 2022 - Visualization - Day 18
Advent of Code 2022, Day 1, Python Solution
Advent of Code 2022 Day 6 | Kotlin
Advent of Code 2022 Day 5 Walk-Through
Advent of Code 2022 Day 11 (#4/#3) Walk-Through
Комментарии