3 ms·
> Do you never work with tree data structures? Yes, you can use std::vector or array or similar as a stack, without using recursion (which has some easily reac
by Aardwolf 3y ago
> Do you never work with tree data structures?
Yes, you can use std::vector or array or similar as a stack, without using recursion (which has some easily reachable depth limit that is much smaller than what your full RAM memory allows, especially in e.g. JS)
Of course ideally programming languages would figure out a way to not have this reachable limit and allow as much recursion as your RAM allows... We're still in the ancient world when it comes to this, it seems