15How do you find business logic flaws that scanners cannot?▼hardNewAmazonSalesforceMeta◆ premiumModel a bounded reservation workflow, run an offline invariant fixture, and reason about retries, contention, immutable intent and uncertain external outcomes.Open full answer →
35A gift card can be redeemed twice if two requests arrive at the same moment. Explain the bug class and fix it properly.▼hardNewAmazonMicrosoftSalesforce◆ premiumEvery check passed and every write succeeded. The money still left twice, because the check and the write were two steps and another request got between them.Open full answer →