Minimum Moves to Get a Peaceful Board

Minimum Moves to Get a Peaceful Board - Coding Problem | K5kC