in regard to recursion what is a seed value?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Many recursive algorithms perform some kind of calculation/transformation based on the results of a previous recursive call to the algorithm. The seed value would be the value passed in to the initial call to the recursive algorithm.
For example if you were writing a recursive algorithm to enumerate all the elements of a tree structure, the seed might be the root node of the tree.