Call stack size in JavaScript:
Three results:
- Node.js: 11034
- Firefox: 50994
- Chrome: 10402
It seems like it would be a bad idea to use recursion for things like BST insertion, because there's a chance you may be dealing with input sizes in the millions or billions.