← Goldman Sachs questions
CodingReported in a candidate post, Oct 2025

Data structure to query if two or more customers visited a store on a day

Filed under Goldman Sachs

Given a log of store visits as (store, day, customer) records, design a data structure with add(store, day, customer) and has_multiple(store, day) that returns True if at least two different customers…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Goldman Sachs questions

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