Track C++
C++ track

Collatz Conjecture

An exercise from the C++ track
easy

About this exercise

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

functions
math
View all solutions