🎉 Exercism Research is now launched. Help Exercism, help science and have some fun at research.exercism.io 🎉
Track JavaScript
JavaScript track

Collatz Conjecture

An exercise from the JavaScript track
easy

About this exercise

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

exception handling
integers
recursion
math
conditionals
loops
View all solutions