← Questions

Recipe shopping cart with bulk discounts

0
DecagonCodingLast asked Nov 2026

A coding interview question asked in Decagon's technical phone screen, last asked Nov 2026. It tests oop, pricing and design. Reported by 1 member.

A cooking app lets people put whole recipes in a shopping cart. The store runs bulk discounts on single ingredients: buy enough of one ingredient across the recipes in your cart and you get a fixed amount off.

Sign in to unlock this question

The full prompt, the worked answer and your own canvas or code with the AI tutor. New accounts get 5 credits: each one unlocks a question for good.

Where it's asked

What it tests

oop · pricing · design

Your code and the AI tutor open when you unlock this question.