IPO Allocation with Price Group Round-Robin and Timestamp Tie-Breaking

You are given a list of IPO orders. Each order contains:

  • orderId: unique identifier
  • price: bid price (integer)
  • timestamp: submission time (integer; smaller means earlier)
  • quantity: re...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: