- 博客(2)
- 收藏
- 关注
原创 Solution to S-99 ( P01 ~ P05 )
def last(data: List[Any]): Any = { if(data.size < 1) throw new IllegalArgumentException("List is too short") else return data.last } def penultimate(data: List[Any]): Any =
2014-09-02 08:43:50
315
转载 S-99: Ninety-Nine Scala Problems
S-99: Ninety-Nine Scala ProblemsThese are an adaptation of the Ninety-Nine Prolog Problems written by Werner Hett at the Berne University of Applied Sciences in Berne, Switzerland. I (Phil Gold) h
2014-09-02 08:31:45
2584
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人