@svpino posted a nice chalenge: solve 5 problems within an hour or denounce your title of software engineer.
It took me 40 minutes, of which 10 minutes was fighting around a limitation of the scala REPL.
Here are my solutions. They can all be pasted as is in the Scala REPL.
/////////////////////////////////////////
// Problem 1 (Yuc! This is not a Scala problem!)
def p1_for(xs: Seq[Int]): Int
↧