Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
private def exercise4() {
val result = new StringBuilder()
val map = TreeMap(("c", 3), ("b", 2), ("a", 1))
.map(entry => entry._1 + entry._2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment