Number of Orders in the Backlog at Robinhood

Medium53.6% acceptance

This problem has 100.0% frequency at Robinhood.

Problem Description

You are given a 2D integer array `orders`, where each `orders[i] = [pricei, amounti, orderTypei]` denotes that `amounti` orders have been placed of type `orderTypei` at the price `pricei`. The `orderTypei` is: * `0` if it is a batch of `buy` orders, or * `1` if it is a batch of `sell` orders....

Read full problem and hints

Topics

Also asked at 3 companies


More Robinhood Questions

View all Robinhood questions