Ask Question
17 August, 15:18

Which repetition approach is less efficient a loop or a recursive function why?

+4
Answers (1)
  1. 17 August, 17:41
    0
    In general loops are less efficient because they have to go through data one at a time no matter what. Recursion allows you to split the data into smaller pieces each time the function is called. In general terms the efficiency of loops is x and the efficiency of recursion is log (x)
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Which repetition approach is less efficient a loop or a recursive function why? ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers