• + 0 comments

    code is working fine in my terminal. I feel you missed to import. import scala.annotation.tailrec