Finite number of steps algorithm July 8, 2019 16 32 64 128 Algorithm should have finite number of steps An algorithm should involve finite number of steps to reach to a solution Algorithms must terminate after a finite number of steps An algorithm should contain a finite number of steps Fibonacci number leetcode javascript