https://kotlinlang.org logo
#advent-of-code
Title
# advent-of-code
t

todd.ginsberg

12/10/2018, 8:43 PM
I wish I understood enough math to know what's going on with all these mathy solutions. Maybe a good 2019 goal is to relearn math I forgot.
j

joelpedraza

12/10/2018, 8:44 PM
@todd.ginsberg This one sounds fancy. It’s basically just binary search from 0 to an unknown upper bound
To find the upper bound double until it you pass it, then binary search from there
t

todd.ginsberg

12/10/2018, 8:47 PM
huh, neat. I'll have to dig in later.
7 Views