Haircut solutions

Haircut was solved using Java by 431 contestants. Solution sizes: average 2930 bytes (shortest: 961; longest: 38176).

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