Data Structure & Algorithm: Level-1 Problem #20. Climbing Stairs Posted by By CodeGuru.Academy March 31, 2021Posted inData Structure & Algorithm Basic Level Problems Given a staircase of N stairs, if we can move up either one step or two steps at a time, how many different ways are there to climb to the…
Data Structure & Algorithm: Level-1 Problem #7. Fibonacci Number Posted by By CodeGuru.Academy March 19, 2021Posted inData Structure & Algorithm Basic Level Problems Fibonacci numbers, commonly denoted Fn, form a sequence, called the Fibonacci sequence, such that each number is the sum of the two preceding ones, starting from 0 and 1. That is, and The…