Available question text
Given base pizza prices and topping prices, determine which total price closest to a target budget can be achieved by choosing one base and any combination of toppings (with limited repeats per topping); solve by enumerating achievable sums via backtracking or knapsack-like DP and selecting the cost with the smallest difference (with tie-break rules).
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
Amazon
Leetcode 3050. Pizza Toppings Cost Analysis
Reported Jun 2, 2026 · 2 source reports
JUNIOR, SENIOR
Source snapshot: Nov 12, 2026
View source