โ† Goldman Sachs questions

Next closest birthdate data structure

Filed under Goldman Sachs

The question

Design a data structure that stores the birthdates of all employees of an institution and provides a function that returns the next closest birthdate given a specific date.

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

Related Goldman Sachs questions

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