Cake Solutions Interview Question

Scala pattern matching