Skip to content

Instantly share code, notes, and snippets.

View alexnder394's full-sized avatar

M. Reda alexnder394

View GitHub Profile
@alexnder394
alexnder394 / toolbox_week2.md
Created October 13, 2023 07:56 — forked from chrswt/toolbox_week2.md
Algorithmic Toolbox Week Two

Back to Overview of Toolbox


Fibonacci numbers

Problem overview

The fibonacci series is a classic series of numbers where the 0th element is 0, the 1st element is 1, and from thereon, each element is the sum of the previous two elements. For example, the following represents a fibonacci series: 0, 1, 1, 2, 3, 5, 8, 13, 34, ...

Naive algorithm