Jane Street logoJane Street
CodingMembers

Interpret a Tiny Stack Language With Loop Detection

Members only

A simulation problem: execute a small instruction list against a stack and a program counter, with mixed integer and string values. Most of the difficulty is in edge-case handling and in deciding how to recognise a program that never ends.

SWE
medium
stack
simulation
parsing
string
cycle-detection
state-machine
hashmap
Frequency
Single report
Last asked
2026-10-15
Stage
phone-screen · onsite-coding

Members get

  • Full problem statement
  • Known variants to clarify
  • 3 progressive hints
  • Step-by-step approach
  • Full solution with code
  • 6 common pitfalls
  • 5 talking points
  • 5 follow-up questions with answer directions
  • Preparation drills

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...