</>OfferRetriever
DashboardDiscuss
NEW

Summer Sale

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

$10.42$7.08

14

:

03

:

45

:

20

Get this deal
Back to Dashboard

OA [CodeSignal] Final Prices After Discount

Medium

You are given an array prices where prices[i] is the price of an item.

For each item at index i, find the first item at index j > i such that prices[j] <= prices[i]. This item acts as a discount for item i. ...

OfferRetriever

Master technical interviews with real questions from top companies. Build your confidence and career.

PRODUCT
PricingDashboardDiscussOfferRetriever vs LeetCode
LEGAL
POPULAR COMPANIES
GoogleMetaAmazonMicrosoftNetflixStripeUberTikTokBrowse all companies →

© 2026 Purple Business Holdings LLC. All rights reserved. See Terms of Service.