You are viewing a single comment's thread. Return to all comments →
def f(arr:List[Int]):Int = { if (arr isEmpty) 0 else 1 + f(arr tail) }
without high superior function :)
Seems like cookies are disabled on this browser, please enable them to open this website
List Length
You are viewing a single comment's thread. Return to all comments →
without high superior function :)