Advertisements
Advertisements
प्रश्न
State any one drawback of using recursive technique in a Java program.
अति संक्षिप्त उत्तर
Advertisements
उत्तर
Disadvantages of recursion:
- Recursive functions are typically slower than non-recursive functions.
- Storing intermediate results on system stacks may demand significant memory space.
- The code is difficult to study and understand.
- It does not improve efficiency in space and time complexity.
shaalaa.com
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
