From Dev.to
Bracket seeding in one line of code, and the sum that catches a bad draw
Ask someone to seed an 8-team bracket and they'll write 1 v 8, 2 v 7, 3 v 6, 4 v 5, top to bottom. The pairs are right. The order is wrong, and it puts the two best teams on course to meet in the semi...
