โ† Goldman Sachs questions

Packet stream rate limiting algorithm

Filed under Goldman Sachs

The question

Given a stream of packets where up to 10 packets can be processed per second but more may arrive, suggest a proper data structure or algorithm to manage the scenario.

No write-up yet. Related questions below have one.

Related Goldman Sachs questions

Collected from public candidate posts and coding forums. Updated Nov 2026.