Which statement is correct? Recursion
-
A
Connects all vertices without forming a cycle
-
B
Allows easy insertion and deletion but has no direct access to elements
-
C
Has a time complexity of O(log n) and needs a sorted array
-
D
Is a technique in which a function calls itself
Correct answer
Correct answer
D. Is a technique in which a function calls itself
Explanation
Recursion is a technique in which a function calls itself.
Doubts & discussion
Not sure why the answer is D? Ask here and get an explanation.
Ask a doubt about this MCQ