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:
1 view
413
80
4 months ago 00:08:47 1
Finishing the Magical Madrigal House! Lego Encanto build & review part 7
4 months ago 00:00:54 1
Royalty - Sephiroth [Movie/Edit]
4 months ago 00:11:06 1
Unboxing and Review of Dreamworks Trolls Band Together Toy Collection
4 months ago 00:01:01 1
Rockman ZX Advent Commercial 2
4 months ago 00:00:32 1
Rockman ZX Advent Commercial 1
4 months ago 00:00:00 1
Караоке сессия 3 - В честь выпускного!
4 months ago 00:01:19 1
Coors Beer was on Display During Worship at the 2024 Allegheny West Conference Camp Meeting
4 months ago 00:24:16 1
How Consumer Propaganda Changed America
4 months ago 00:00:57 1
Watch out when i’m down! #charliechaplin #vintage
4 months ago 00:14:33 1
He’s Wanted For Crimes Against The 1911
4 months ago 01:00:41 1
Scientists Discovered The First Ancient Civilization That Existed Before Real Humans
4 months ago 00:01:03 1
Elizabeth’s SUDDEN Voice Change That Broke 120,000 Viewers
4 months ago 00:04:49 1
How to choose your news - Damon Brown
4 months ago 00:29:16 12
True Size of a Byzantine Army [c. 900 AD] 3D DOCUMENTARY
4 months ago 11:56:29 1
Gregorian Chant 432Hz - Dies Irae - Templar Chant
4 months ago 00:05:42 1
Ave Maria (Vavilov / Caccini) — Olga Peretyatko
4 months ago 00:04:27 1
Crown Of Thorns (Mos Teutonicus by Advent Resilience)
4 months ago 00:02:18 1
Kiara Lays an Egg during front of Calli【Hololive EN】
4 months ago 00:02:29 39
XCOM 2 War of the Chosen Intro - Opening Cinematic
4 months ago 00:30:14 1
600lb Medieval Crossbow VS 165lb English Warbow
4 months ago 00:00:35 1
How REAL Men Integrate Functions
4 months ago 00:03:56 1
DYNAZTY - Advent (2021) // Official Music Video // AFM Records
4 months ago 00:00:00 1
Ведём бои на подавление |Серия #79
4 months ago 00:06:10 1
DIY Kleid aus Ferrero Rocher Geschenk Idee 👧 DIY Ferrero Rocher Doll 👧 Кукла из конфет ферреро роше