Recursion → A function calling itself is known as Recursion. usually recursion take more time and memory than loops. also there is risk of stack overflow for large values. /* SYNTAX return_type function_name(parameters) { // Base case (term...
akashjaiswal-dsa.hashnode.dev3 min read
No responses yet.