Sequences and Recursion Flashcards
1
Q
The 3 rules of recursive functions
A
Must have a base case, must call itself recursively, must change its state and move towards the base case
CS1005: Logic and Computation > Sequences and Recursion > Flashcards
The 3 rules of recursive functions
Must have a base case, must call itself recursively, must change its state and move towards the base case
CS1005: Logic and Computation (16 decks)