Sanjaay Gowda T S
All company profiles

COMPANY CONTEXT / 56 IN THE STUDY LIST

The Goldman Sachs Group, Inc.

FinancialsUnited StatesSoftware engineeringSystem design

Goldman Sachs provides investment banking, markets and asset and wealth-management services.

Original company-context practice, not verified company interview questions. Use the business setting to explain technical choices clearly.

01 / PRACTICE IN CONTEXT

Two problems to reason through.

Clarify assumptions before reading the model answer. Discuss what would change with different constraints.

Original company-context practiceHard

Software engineering

Reconcile a simulated order lifecycle

The Goldman Sachs Group, Inc. · Concept

Original practice scenario: A fictional market simulator receives order acknowledgements, fills and cancellations out of order, sometimes more than once. How should its state machine behave?

Read model answer

Represent orders as a constrained event-driven state machine, with execution quantities separate from request status. Arrival order must not erase a valid fill or apply an event twice.

Work through it

  1. Assign stable order and event identities, record source sequence information and reject events that cannot belong to the referenced order.
  2. Apply deduplicated events under explicit transitions, maintaining cumulative filled quantity and pending cancellation rather than assuming cancellation removes earlier executions.
  3. Replay shuffled and duplicated streams, including partial fills during cancellation and sequence gaps; compare reconstructed state with a trusted synthetic ledger.

Tradeoffs to discuss

  • Waiting for missing sequence events improves certainty but delays visibility; provisional state requires clearly recorded unresolved gaps.

Common pitfalls

  • A cancel request is not a cancellation acknowledgement.
  • Do not decrement inventory twice when the same execution is redelivered.
Open full question
Original company-context practiceHard

System design

Distribute a reproducible risk calculation

The Goldman Sachs Group, Inc. · Concept

Original practice scenario: Design a batch platform that evaluates a synthetic portfolio under many hypothetical market scenarios, allowing jobs to resume after worker failures.

Read model answer

Make each computation identifiable by immutable input versions and scenario parameters. Reproducibility and completeness are more important than declaring success when only the fastest tasks finish.

Work through it

  1. Partition work by stable portfolio slice and scenario range, recording the model version, random seed and numerical settings in a job manifest.
  2. Write task outputs atomically under deterministic identities; accept repeated execution idempotently and track expected versus completed partitions.
  3. Aggregate only a consistent manifest, validate reconciliation and numerical tolerances, and test worker crashes, stragglers and incompatible output versions.

Tradeoffs to discuss

  • Small partitions improve recovery and balancing but increase scheduling overhead; large partitions waste more work after failure.

Common pitfalls

  • Do not aggregate a mixture of model versions as one result.
  • Label simulated risk outputs as exercise data rather than financial advice.
Open full question

02 / STRENGTHEN THE FOUNDATIONS

Related technical practice.

Browse company questions

03 / TEST AN APPROACH

Suggested coding exercises.

Exercises selected for these technical tracks. They are independent practice with visible tests and public solutions.

Study list: PwC Global Top 100 companies by market capitalisation, 2026 · 31 March 2026.

Keep learning beyond the interview.

Explore the Learning Hub