Haircut solutions

Haircut was solved using Scala by 17 contestants. Solution sizes: average 1697 bytes (shortest: 614; longest: 2741).

The list below is sorted by ranking. You can also sort by solution size.