You are viewing a single comment's thread. Return to all comments →
Remove everything and just try this, it will work, Scala stub is incorrect, somebody please fix it.
def f(arr:List[Int]):Int ={arr.map(_=>1).sum}
List Length
You are viewing a single comment's thread. Return to all comments →
Remove everything and just try this, it will work, Scala stub is incorrect, somebody please fix it.