Which is a characteristic of thinking recursively Select all
Which is a characteristic of thinking recursively? Select all that apply. Identifying a base case. None of the other options. Considering how to use loops to solve problems. Breaking down a problem into smaller sub-problems. Which is a condition under which you might want to use recursion instead of iteration? Select all that apply. You think your program will not cause the computer to run out of memory space. There is no clear base case. The problem you\'re solving can be thought of naturally in a recursive manner. The problem you\'re solving can be thought of naturally in an iterative manner. Considering the following algorithm, which statement is true? Assume the variable i is greater than or equal to zero. Select all that apply. public static void doSomething(int i) {doSomething(i);} It can result in infinite recursion. It doesn\'t have a base case, or it has one that doesn\'t execute. None of the other options. It doesn\'t actually do recursion.
Solution
Answer to Question 1
-identifying a base case: recursion we have base condition to stop the recursion
-Breaking down a problem into smaller-sub problem
Answer to question 2
-You think your program will not cause the computer to run out of memory
-The problem you\'re solving can be thought of naturally in a recursive manner
Answer to question 3
-It can result in infinte recursion
-It doesn\'t have a base condition
//Note: Feel free to ask doubts/queries. God bless you!
