diff -r ae4708c851ee -r 4fa7231fede7 progs/lecture2.scala --- a/progs/lecture2.scala Wed Dec 21 03:06:18 2016 +0000 +++ b/progs/lecture2.scala Wed Jan 11 12:18:34 2017 +0000 @@ -348,6 +348,8 @@ // a student showed me... import scala.collection.mutable.ListBuffer + + def collatz_max(bnd: Long): (Long, Long) = { val colNos = ListBuffer[(Long, Long)]() for (i <- (1L to bnd).toList) colNos += ((collatz(i), i))