Practice free →
HomeAP Computer Science AComputer ScienceData Structures and Algorithms › An algorithm solves a big problem by splitting t…

An algorithm solves a big problem by splitting the input into smaller instances of the same problem. That idea is:

ACompilation
BRecursion
CIteration
DDuplication
Answer & Solution
Correct answer: B. Recursion
1. The smaller pieces are subproblems. 2. The same problem reappears inside itself. 3. It is recursion. _Source: OpenStax Introduction to Computer Science, Chapter 3, Data Structures and Algorithms._
Solve this in the app — AP Computer Science A practice & 24k+ MCQs →
Related questions