Sanjaay Gowda T S
All company profiles

COMPANY CONTEXT / 46 IN THE STUDY LIST

Alibaba Group Holding Limited

Consumer DiscretionaryHong KongSoftware engineeringAI & machine learning

Alibaba operates commerce platforms and cloud and other technology businesses.

Original company-context practice, not verified company interview questions. Use the business setting to explain technical choices clearly.

01 / PRACTICE IN CONTEXT

Two problems to reason through.

Clarify assumptions before reading the model answer. Discuss what would change with different constraints.

Original company-context practiceHard

Software engineering

Compose marketplace promotions with explicit scope

Alibaba Group Holding Limited · Concept

Original practice scenario: A hypothetical marketplace combines seller discounts, platform vouchers and shipping offers in a basket with several sellers. Design a deterministic pricing calculation and explainable result.

Read model answer

Define promotion scope, ordering and rounding before implementing the calculator. Different rule orders can produce different totals even when each individual discount is calculated correctly.

Work through it

  1. Represent immutable basket lines with seller, currency, quantity and eligibility attributes, then classify promotions as line, seller-subtotal, basket or shipping rules.
  2. Apply a declared precedence and conflict policy, recording each rule's eligible base and allocated adjustment with exact monetary arithmetic.
  3. Return an itemized calculation trace and test thresholds, incompatible vouchers, partial returns and empty eligible populations, retaining the pricing rule version.

Tradeoffs to discuss

  • A flexible rule system supports varied campaigns but increases interaction complexity; restricting combinations makes results easier to explain.

Common pitfalls

  • Do not apply a seller-specific voucher to another seller's subtotal.
  • A return allocation must conserve the original charged amount rather than recompute a different current promotion.
Open full question

02 / STRENGTHEN THE FOUNDATIONS

Related technical practice.

Browse company questions

03 / TEST AN APPROACH

Suggested coding exercises.

Exercises selected for these technical tracks. They are independent practice with visible tests and public solutions.

Study list: PwC Global Top 100 companies by market capitalisation, 2026 · 31 March 2026.

Keep learning beyond the interview.

Explore the Learning Hub