I placed 64th on part 1; 11th on part 2; now 5th overall.
Lost track of time and started 44 seconds late. Oops. It went pretty well, considering.
I’m surprised to see a problem as tricky as part 2 already. I find interval math tough to visualize.
It’s a longer video today because I spent a while cleaning up and explaining my solution code. Hopefully that’s interesting and/or useful.
I recommend using “inclusive on the left, exclusive on the right“ to represent intervals e.g. store [1,2,3] as [1,4). This has some nice properties, like “the length of [a,b) is b-a“ and “[a,b) [b,c) = [a,c)“.
Solution:
Problem:
4 views
519
115
2 years ago 00:02:01 198
Трейлер Manga “RACE OF ADVENT“
2 years ago 00:19:59 5
Advent Of Tess: Day 3
2 years ago 00:08:50 10
Advent Of Tess: Day 13
2 years ago 00:10:43 1
Advent Of Tess: Day 9
2 years ago 00:15:10 6
Advent Of Tess: Day 4
2 years ago 00:15:19 2
Advent Of Tess: Day 2
2 years ago 00:19:32 1
Advent Of Tess: Day 6
1 year ago 00:23:02 1
Advent of Tess 2023: Day 4
2 years ago 00:14:45 2
Advent Of Tess: Day 8
2 years ago 00:09:35 1
Advent Of Tess: Day 12
5 years ago 01:13:51 107
Lecture 3: Advent of a Unipolar World: NATO and EU Expansion