</>OfferRetriever
DashboardDiscuss
NEW

Summer Sale

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

$10.42$7.08

14

:

03

:

46

:

46

Get this deal
Back to Dashboard

Denomination Breakdown

Medium

You are given a list of distinct positive integer denominations and a target amount. Find the minimum total number of denominations needed to sum exactly to the target. Return an array where each element is the count of the corresponding denomination used. If it is impossible to reach the target, return an empty list.


...

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.