We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Scala does tail recursion optimisation at compile-time and the recursive function is transformed into a loop by the compiler
I was wondering why the following solution says "Run Time Error"
String Mingling
You are viewing a single comment's thread. Return to all comments →
Scala does tail recursion optimisation at compile-time and the recursive function is transformed into a loop by the compiler I was wondering why the following solution says "Run Time Error"
}
Is it because of same reason ?