Code Craft: Validate Cart

Asked at DoorDash · Coding Questions · Difficulty: Medium · Last asked Jun 10, 2026

Phone-screen Code Craft prompt. Given a cart with item entries, validate whether the cart is orderable under quantity, availability, and min/max-limit rules. Intentionally open-ended; candidates negotiate rule semantics and output shape.

Loading the problem…