Pinning Down a Hidden Array from Range Sums

Company: ethos life_9oct

Difficulty: medium