โ† SAP questions

Form weights from 1 to 40 kg using minimum bases

Filed under SAP

Determine a mathematical and programmatic approach to form all integer weights from 1 to 40 kg using the minimum number of base weights, famously solved using powers of 3 (Bachet's weight problem).

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 SAP questions

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