Ticket Swapping solutions

Ticket Swapping was solved using Ruby by 12 contestants. Solution sizes: average 1538 bytes (shortest: 712; longest: 3212).

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