← Salesforce questions

Pizza Price Closest to Target

Filed under Salesforce

Given a list of crust prices and topping prices, find the total price of a pizza closest to a target value. You must choose exactly one crust and can choose any number of toppings, where each topping…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Salesforce questions

Collected from public candidate posts and coding forums. Updated Nov 2026.