Track TypeScript
TypeScript track

Collatz Conjecture

An exercise from the TypeScript track
medium

About this exercise

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

conditionals
exception handling
integers
recursion
math
View all solutions