Specify the Lowest Price Across Percentage and Buy-X-Get-Y Discounts

Read the full interview experience this question came from →

Quick Overview

Clarify percentage and buy-x-get-y pricing rules, then reason about the cheapest legal discount combination, quantity thresholds, interactions, and rounding.

Specify the Lowest Price Across Percentage and Buy-X-Get-Y Discounts

Company: Instacart

Role: Software Engineer

Category: Software Engineering Fundamentals

Difficulty: medium

Interview Round: Onsite

Overview: Clarify percentage and buy-x-get-y pricing rules, then reason about the cheapest legal discount combination, quantity thresholds, interactions, and rounding.

Read the full Instacart Software Engineer interview experience this question came from

Instacart logo
Instacart
Sep 11, 2026
mediumSoftware EngineerOnsiteSoftware Engineering Fundamentals
2
0
Loading...