cswork / mock oaOpen Mock OA

Goldman Sachs · HackerRank

Goldman Sachs OA mock: 2 questions in 30 minutes

Take a timed Goldman Sachs OA mock on CSWork: 2 coding questions in 30 minutes, judged online HackerRank-style, auto-submitted at time-up and scored.

Start the Goldman Sachs mock →26 judgeable problems in the pool (OA bank + frequent LeetCode)

The real Goldman Sachs OA format

Platform
HackerRank
Questions
2
Time limit
30 minutes
Difficulty order
easy → medium
Scoring
Each question 0–100 by tests passed
Roles
Engineering Summer Analyst, New Analyst
Besides coding
Software Diagnostics (45 min, debug an existing Django / Node.js / Spring Boot repo); Strats add a 22-min Math challenge

Current official format is role-based: everyone takes a 30-min Software Fundamentals challenge (DSA; count unpublished, reports say 2), engineering adds Software Diagnostics. The old '2 problems in 120 min + math' posts are outdated.

What the Goldman Sachs OA tests

The 30-minute fundamentals section covers easy-to-medium hashing, strings, math and simulation, sometimes classic DP like stock trading or LIS. Engineering roles add a section fixing bugs in an existing app.

From topic labels on 32 Goldman Sachs OA problems on this site (AI-assisted estimates)
  1. Bits & Math16%
  2. Hashing14%
  3. Simulation13%
  4. Strings12%
  5. Greedy8%
  6. Prefix & Ranges8%
  7. Stacks & Heaps6%
  8. DP Basics5%

Pick a topic to practise its stop on Line 500.

Estimated difficulty mix

  • easy 44%
  • medium 47%
  • hard 9%
Style
2025 reports include multi-transaction stock buy/sell and LIS alongside array, string and hashing problems. Software Diagnostics has you locate and fix bugs in an unfamiliar Django, Node or Spring codebase.
How to prepare
Know the classic DP problems (the stock series, LIS) cold, and practice tracing a bug through an unfamiliar repo once or twice. With only 30 minutes, write the easy problems right the first time.

What this mock simulates

  • 2 coding questions, in the order easy → medium
  • A 30-minute countdown that keeps running if you leave, and submits itself at zero
  • Problems drawn from Goldman Sachs's OA bank and its frequent LeetCode questions, preferring ones you have not solved
  • Solutions and hints stay hidden until you finish; then a score report and the solutions

Not simulated

  • Software Diagnostics (45 min, debug an existing Django / Node.js / Spring Boot repo); Strats add a 22-min Math challenge
  • Camera, microphone or screen proctoring, and plagiarism checks
  • HackerRank's own editor; you use the CSWork editor and judge

Where the format comes from