Haircut solutions

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

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