I feel that the explanation of the solution in this video has been oversimplified in the sense that there is no logical explanation as to why recursion has been used.
Please explain logically in detail that why did we arrive at the conclusion that we need to use recursion and how recursion alone will solve this problem.