Google Interview Question

A q on difference arrays