Quantcast
Channel: Day to day stuff
Viewing all articles
Browse latest Browse all 83

5 problems in an hour

$
0
0
@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

Viewing all articles
Browse latest Browse all 83

Trending Articles