Introduction - If you have any usage issues, please Google them yourself
Recursive algorithm is to reduce the size of the problem into sub-problems of similar problems. Then recursively call the function (or process) to represent the solution of the problem. Use recursion to the output array is very simple.