Digital Marketing

Our forum is Describe for what SEO stands for, tips of Social Media Marketing, How to deal with it. Learn the new ways of doing Digital Marketing....................

SEO Forum,Dofollow Forum,High PR Forum,startwithclck,Submit a guest post,Bluehost Review: Shared Hosting for WordPress,Bluehost Review,Bluehost Reviews,bluehost hosting,How to get backlink from Wikipedia,

You are not connected. Please login or register

What is the data structures used to perform recursion?

Go down  Message [Page 1 of 1]

Digital Marketing


Admin

Stack. Because of its LIFO (Last In First Out) property it remembers its 'caller' so knows whom to return when the function has to return. Recursion makes use of system stack for storing the return addresses of the function calls.

Every recursive function has its equivalent iterative (non-recursive) function. Even when such equivalent iterative procedures are written, explicit stack is to be used.

https://digitalmarketing.niceboard.com

Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum