Minimal Cost of Cutting a Chain Into Three Pieces

Company: American Express

Difficulty: medium