karelpeeters
12/08/2018, 8:05 PMcallatz_tailrec
once, while in the challenge you need to call it n
times.joelpedraza
12/08/2018, 8:08 PMcollatz_tailrec(23) =>
23
70
35
106
53
160
80
40
20
10
5
16
8
4
2
1
karelpeeters
12/08/2018, 8:11 PMjoelpedraza
12/08/2018, 8:12 PMkarelpeeters
12/08/2018, 8:35 PMtailrec
isn't really applicable in the challenge, both because there's more work to be done after the tail call (constructing the Node) and because you need to call it multiple times.joelpedraza
12/08/2018, 8:52 PM