Recursion is a method of solving computational problems where the solution depends on solutions to smaller instances of the same problem. It is used in many computer programming languages and is a central idea of computer science. Recursive functions can be used to solve infinite sets of objects with a finite statement, and are as powerful as imperative languages. However, they can cause the call stack to become large and inefficient.
Stanford University
Winter 2023
This course helps transition from coding to problem-solving using computers. The course explores techniques, tools, and models for problem-solving across disciplines using C++. Prior programming experience is assumed.
No concepts data
+ 33 more concepts