Recursion Question : Revision

Posted by stan on Stack Overflow See other posts from Stack Overflow or by stan
Published on 2010-04-19T10:47:59Z Indexed on 2010/04/19 11:13 UTC
Read the original article Hit count: 298

Filed under:
|
|

My slides say that:

  • A recursive call should always be on a smaller data structure than the current one

  • There must be a non recursive option if the data structure is too small

  • You need a wrapper method to make the recursive method accessible

Just reading this from the slides makes no sense, especially seeing as it was a topic from before christmas!

Could anyone try and clear up what it means please?

Thank you

© Stack Overflow or respective owner

Related posts about recursion

Related posts about java