Recursion is a way to represent the time and space complexity of an algorithm. Every time the first element of array will be sliced, because we have already cheked it for odd or even.

•12m read time•From dev.to
Post cover image
Table of contents
Tabel of content:Understanding Big O NotationAlgorithm
13 Comments

Sort: