</>OfferRetriever
DashboardDiscuss
NEW

Spring Hire Sale

Limited Time Deal: Unlock all premium questions for over 30% off

$10.42$7.08

08

:

03

:

13

:

47

Get this deal
Back to Dashboard

Design Lazy Array

Medium

Given an integer array, a list of multipliers, and a target value, determine the first index in the array whose element equals the target after all multipliers have been applied sequentially.

Each multiplier is applied to every element of the array in order. For example, if multipliers = [2, 3], each element is first multiplied by 2, then the result is multiplied by 3, producing a net multiplication of 6 for each element. ...