Domanda di colloquio di IBM

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

Risposta di colloquio

Anonimo

22 lug 2024

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