Author
anonymous
over 7 years ago
Scala
Scala 2.12.2
$ scalac prog.scala
Vector(1, 2, 3, 4, 5) Vector(3, 4, 5, 6, 7) Vector(2, 3, 4, 5, 6)