How I got up to 95% running-time improvement?

By Ketan Verma in General

How I got up to 95% running-time improvement?

As software engineers, we thrive to deliver software that produces correct results while being fast and using as little resources as it can. Mostly, there is a trade-off between the running time of the program and the memory it consumes, but that's not always true.

Fastest Fibonacci Algorithm

By Ketan Verma in Algorithms

Fastest Fibonacci Algorithm

Fibonacci numbers are the numbers in the following integer sequence, called the Fibonacci sequence, and characterized by the fact that every number after the first two is the sum of the two preceding ones. But there's an unintuitive way to calculate them and it's very fast!