What is a recursive algorithm?
A method that calls itself somewhere inside it’s body of code
What is the Recursive case in a recursive algorithm?
Recursively calls the method with different parameters each time, eventually converging on a base case
What is a Base case in a recursive algorithm?
Detects a condition or if statement, upon which it provides a final answer
What is an example of a recursive data structure?
Explain how it can be recursive, and state the base case and recursive case
A linked list
A Binary search is a recursive algorithm. What are the base and recursive case(s) of a Binary search?
-Recursive case: Calls the Binary search method using either the left or right half of the list, excluding the middle item