Minimum Cost to Merge Stones

Minimum Cost to Merge Stones - Coding Problem | K5kC