Pergunta de entrevista da empresa IBM

It was a range query question. The task was to update an array range by a multiplier and return the updated array.

Resposta da entrevista

Sigiloso

22 de jul. de 2024

I converted a difference array to a multiplier array to solve in O(N) time.