1.

Mention What Are The Three Laws Of Recursion Algorithm?

Answer»

All recursive ALGORITHMS MUST follow THREE laws:

  • It should have a base case.
  • A recursive algorithm must call itself.
  • A recursive algorithm must change its STATE and move TOWARDS the base case.

All recursive algorithms must follow three laws:



Discussion

No Comment Found