← Salesforce questions

Minimum books taken without skipping adjacent boxes

Filed under Salesforce

Given N boxes with a specific number of books in each box, select books such that you take either all books from a box or none, cannot skip two adjacent boxes, and minimize the total number of books…

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.