Bloomberg Interview Question

The classic 5 Pirates Fight for 100 Gold Coins problem