Recursive Function

// PS:43, psn > a15 > 160
// Scala type inference cannot infer the return type of recursive
// function

// @tailrec Annotation can be used to check tail-call optimization

No comments:

Post a Comment