CSC325 ยท 2081 ยท 5 marks
Write an algorithm to find the nth fibonacci number with its time and space complexity.
Write an algorithm to find the $n^{th}$ fibonacci number with its time and space complexity. [5]
Design and Analysis of AlgorithmsChapter 2: Iterative AlgorithmsBasic Algorithms