Question d’entretien chez IBM

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

Réponse à la question d'entretien

Utilisateur anonyme

22 juil. 2024

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