From scottlogic.com
Recursion, Thunks and Trampolines with Java and Scala
1 1
In this post we will see how Thunks and Trampolines can help solve problems by converting deep stack-based recursion into heap-based iteration helping to prevent StackOverflowErrors
#java #scala #hashtag #recursion #scottlogic
20h ago