Timeline for I don't understand how the collatz(n) recursive function works
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 29, 2021 at 16:48 | comment | added | liwen zeng | I changed the code a little which add a line printf("n=%i\n",n); at collatz function begin. So it will be easy to understand. The function call recursively,every time, it add 1 to the return value. | |
Nov 11, 2019 at 5:35 | review | Late answers | |||
Nov 11, 2019 at 22:33 | |||||
Nov 11, 2019 at 5:20 | review | First posts | |||
Nov 25, 2019 at 5:20 | |||||
Nov 11, 2019 at 5:15 | history | answered | AndJF | CC BY-SA 4.0 |