3 ms·
You'll need a data structure to store the results to return to the caller. This data structure by definition cannot be the call stack. So using a call stack is
by zeroimpl 7y ago
You'll need a data structure to store the results to return to the caller. This data structure by definition cannot be the call stack. So using a call stack is technically redundant.