Design Snake and Ladder
Snake and ladder is a board game. Players start off the board, roll a die in turn and move forward by the number rolled. Land at the foot of a ladder and you climb to its top. Land on a snake's head and you slide down to its tail. The first player to land exactly on the last cell wins. At Goldman Sachs it's one of the most commonly reported low-level design (LLD) prompts. LLD means classes, fields and methods written as code, with no servers or databases in the picture. Reports run from Analyst to VP and cluster at Associate. It tends to land in the Superday round called Software Engineering Practices, or in a round that mixes your past work, Java questions and an LLD prompt. One Analyst describes a 40-minute slot of pseudocode plus class design.
Nobody is graded on knowing the game. The grade comes from what surrounds it: small, clear classes, rules that change without rewriting the loop, and edge cases you raise before the interviewer does. Code a test can drive counts too. And when the follow-up arrives, you should see that the board is a graph.
Goldman SachsPremium lesson · System design round
The Goldman Sachs design, worked end to end.
- The API and data modelSystem design
- The design, drawn out2 diagrams
- 5 deep divesWith the tradeoffs
$49 a year · all 107 companies · instant access
392 Goldman Sachs interview reports · guide updated
Goldman Sachs interview guideKnow what Goldman Sachs asks before you walk in.
22 coding · 7 system design · 22 behavioral questions
Get their questions first.
InterviewLegend is independent and not affiliated with or endorsed by any company it covers.