Apply Range Overwrite Queries | Google Coding Question