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

karelpeeters

12/08/2018, 3:17 PM
But is it possible?
tailrec
is only if you recurse only once per call at most, right?
j

joelpedraza

12/08/2018, 7:28 PM
I don't think it has to be the only call. Just the last call.
k

karelpeeters

12/08/2018, 7:31 PM
So if you have to call it for every child only the last one can be tailrec'ed?
5 Views