Track Scala
Scala track

Collatz Conjecture

An exercise from the Scala track
easy

About this exercise

Calculate the number of steps to reach 1 using the Collatz conjecture

recursion
math
View all solutions