state definition of recursion [1m]
procedure that calls itself and returns a predetermined value when base case is encountered
3 conditions of recursive functions
advantage of recursion
can be split among multiple processors (when func calls itself twice in one line, calc happen for both func calls simultaneously)
disadvantage of recursive
greater overhead due to the need to push and pop function frames on and off the call stack (more time consumption in program execution)
the call stack
difference btwn trace table & trace diagram? (visual)
hope u do! jiayou!
(check recursion notes if u dont)