uwhpsc-2016 / homework1

Homework #1
1 stars 1 forks source link

Question for Exercise #1 #51

Open junzhang3366 opened 8 years ago

junzhang3366 commented 8 years ago

Do we need to call collatz_step at each iteration in collatz(n)?

cswiercz commented 8 years ago

Think about it, what is collatz supposed to do? Start by writing out an example by hand and turn what you've done into an algorithm.