Questions / Squarepoint

Maximize revenue by selling items with diminishing price

Asked at Squarepoint · Coding Questions · Difficulty: Medium · Last asked Jul 15, 2026

You run a store with `n` product types. Product `i` has current stock `quantity[i]`.

Loading the problem…

More Squarepoint interview questions

  • Deterministic Function Wrapper with Caching
  • Company Usernames
  • Grasshopper Problem
  • ATM Queue
  • Trapping Rain Water Problem
  • Newton's Method for Square Root
All Squarepoint questions