Jane Street software engineer interview questions

Jane Street software engineer interview questions are open-ended programming problems that grow as you solve them, written in real code in the language you know best, with the interviewer working alongside you. Jane Street's own preparation page describes a technical interview over Zoom followed by final rounds in person, and says the core question is whether you are someone they want to work with, so clarity, communication and clean code matter as much as reaching an answer.

By Published 8 min read

What Jane Street says about its interviews

Jane Street publishes its own interview guidance, and it is worth reading in full before you prepare. Its interviewing page says you can interview in whichever language you know best and strongly encourages you not to try OCaml for the first time during the interview. It adds that most of the software engineers it hires come in without OCaml or even functional programming experience. The firm's separate preparation page describes the problems as open-ended, with several plausible angles of attack and maybe no single best answer.

  1. Technical interview over ZoomThe preparation page describes this as the first technical step. Expect to write working code in a shared environment while talking through your choices.
  2. Final rounds in personCandidates who continue go on to in-person final interviews, per the same page. Your recruiter will tell you the logistics and anything specific to your role.
  3. What the interviewers want to learnThe page frames it as whether you are someone they want to work with. That puts weight on how you collaborate, take suggestions and explain trade-offs.
  4. Other rolesJane Street notes that some interview processes are more bespoke, and the recruiter explains those. Do not assume another candidate's experience matches yours.

How open-ended problems unfold

An open-ended problem usually starts small enough to solve quickly, then the interviewer adds a requirement, a scale change or a new kind of input. The first version is a foundation, not the finish line. Name your types and functions so the next requirement slots in, and say what you are deliberately leaving out for now.

Practice problems that grow in stages
QuestionWhat it probesWhat a strong answer shows
Evaluate arithmetic expressions given as a tree. Then add variables. Then print them with minimal parentheses.Recursive data and clean extension.A tagged representation, one function per operation and a clear error for unbound variables.
Write a tokenizer for a tiny language, then a parser on top of it.Separating concerns.Tokens as a small type, a parser that consumes them, and helpful messages for bad input.
Simulate a simple card game, then make the rules configurable.Modeling a domain.Types for cards and moves, a pure step function and rules passed in rather than hard-coded.
Implement a text-based spreadsheet where cells hold numbers or formulas over other cells.Dependencies and cycles.A dependency graph, evaluation in topological order and a clear cycle error.
Build an undo and redo history for a small editor.State over time.Two stacks or a list with a cursor, and what happens when you edit after undoing.
Write a function that diffs two lists of records and reports adds, removes and changes.Precise specification.Keys chosen deliberately, stable output order and well-defined behavior for duplicate keys.
Implement a rate limiter, then make it fair across many users.Growing a design.A simple token bucket first, then per-user state and a plan to evict idle users.
Represent a file system tree and support moving a directory into another one.Invariants.Refusing to move a directory into its own subtree, with a test that proves it.
Write a scheduler that runs tasks with dependencies, then add priorities.Graph ordering plus policy.Kahn's algorithm with a priority queue for ready tasks, and cycle detection.
Practice problems that grow in stages. Scroll sideways on a small screen.
// Expressions as tagged objects: { kind: "num" | "var" | "add" | "mul", ... }
function evaluate(expr, env) {
  switch (expr.kind) {
    case "num": return expr.value;
    case "var":
      if (!(expr.name in env)) throw new Error(`unbound variable ${expr.name}`);
      return env[expr.name];
    case "add": return evaluate(expr.left, env) + evaluate(expr.right, env);
    case "mul": return evaluate(expr.left, env) * evaluate(expr.right, env);
    default: throw new Error(`unknown kind ${expr.kind}`);
  }
}

function show(expr) {
  switch (expr.kind) {
    case "num": return String(expr.value);
    case "var": return expr.name;
    case "add": return `(${show(expr.left)} + ${show(expr.right)})`;
    case "mul": return `${show(expr.left)} * ${show(expr.right)}`;
    default: throw new Error(`unknown kind ${expr.kind}`);
  }
}

const e = { kind: "mul", left: { kind: "add", left: { kind: "var", name: "x" }, right: { kind: "num", value: 2 } }, right: { kind: "num", value: 3 } };
console.log(evaluate(e, { x: 4 }), show(e)); // 18 (x + 2) * 3
Stage one of the expression problem: tagged data and one function per operation. Run with node.

The obvious next step is printing with minimal parentheses: show always wraps an addition, which is safe but noisy. Passing the parent's precedence into show fixes it, and saying so before you code it shows you saw the weakness. In a typed language such as OCaml or TypeScript, the compiler would also warn you about a missing case, which is one reason people like tagged unions.

Clarity and code quality questions

Because readable code is part of the signal, expect follow-ups about your choices rather than just your result. These questions also come up when you discuss past work.

  • Why did you choose this representation over the alternative you mentioned? Name the trade-off in one sentence, such as simpler updates versus faster lookups.
  • How would you know this function is correct without running it? State the invariant, then show that each branch keeps it.
  • What tests would you write before trusting this in production? Small cases, boundaries, a property such as "output is sorted" and a randomized comparison against a slow but obvious version.
  • Where would a type system have caught a bug you hit earlier? Point to a specific mistake and the type that would have prevented it.
  • This function is 60 lines long. How would you split it? By responsibility, keeping each piece testable on its own.
  • What is a pure function, and why might you prefer one here? Same input, same output, no side effects, which makes testing and reasoning simpler.
  • When is mutation the right call? Performance-sensitive inner loops or large structures, kept local and hidden behind a clean interface.
  • How do you handle errors: exceptions, result types or sentinel values? Pick per situation and keep it consistent within a module.

Know your language

Jane Street's preparation advice includes knowing your language well. That means its standard library, its common data structures and their costs, and its sharp edges. If your language is Python, the Python developer guide is a good refresher.

Language fluency checks you can run on yourself
QuestionWhat it probesWhat a strong answer shows
What is the time cost of inserting at the front of your language's default list or array?Data structure costs.Linear for arrays, with the right alternative named, such as a deque.
How does your language compare two records or objects for equality?Semantics.Reference versus structural equality and how to get the one you need.
What happens on integer overflow in your language?Sharp edges.Wrapping, arbitrary precision or an error, and how that affects your solution.
How would you sort records by two keys, one descending?Standard library fluency.A key function or comparator written correctly the first time.
Explain how closures capture variables in your language.Scoping.Capture by reference or value, and the classic loop-variable surprise.
What does a hash map need from its keys?Hashing contracts.Consistent hashing and equality, and why mutable keys are dangerous.
Language fluency checks you can run on yourself. Scroll sideways on a small screen.

Reasoning about randomness in code

Jane Street is a trading firm, and its public material leans on clear quantitative thinking. For a software engineer the useful kind is reasoning about randomized code and its costs, which you can practice with prompts like these.

  • How do you shuffle an array so every order is equally likely? Fisher-Yates: swap each position with a uniformly chosen index at or before it, and explain why the naive version is biased.
  • What is the expected running time of quicksort with a random pivot, and why does randomness help? Average n log n regardless of input order, because no fixed input is reliably bad.
  • How would you test that a random sampler is fair? Many draws, compare counts with expected frequencies and use a tolerance that accounts for noise.
  • You hash n keys into m buckets. Roughly how many collisions do you expect? About n squared over 2m for pairs, and why that matters when picking table size.

Behavioral and fit questions

  • Tell me about a time you changed your mind after a colleague's suggestion. Shows you can take input mid-problem, which is exactly what the interview simulates.
  • Describe a bug you were sure was not in your code. What you assumed, how you found it and what you do differently now.
  • What is something you know you do not know well, and how do you work around it? Honest limits and a method for learning, matching the firm's own advice.
  • Why Jane Street, and why this kind of work? A specific reason tied to the problems, the tools or the way the firm works.

Fictional example

Taking a hint without losing the thread
Interviewer
Your spreadsheet works for numbers. Now a formula can reference another cell. What changes?
Candidate
A cell's value now depends on other cells, so I need the dependency edges. I will parse each formula into a small expression tree and collect the cell names it uses.
Interviewer
What if A1 refers to B1 and B1 refers back to A1?
Candidate
That is a cycle. I could detect it during evaluation with a visiting set, but I think doing it when a cell is updated is cleaner, because then the error points at the edit that caused it. Does that match what you had in mind?
Interviewer
Either is fine. Pick one.
Candidate
Then evaluation-time detection, since it is less code right now. I will note the other option and come back to it if we have time.

A practice plan in Jane Street's spirit

  • Practice, as the firm says. Pick five multi-stage problems from this page and solve each in three parts, with a friend adding the next requirement.
  • Write in your best language only. If you are curious about OCaml, learn it separately; do not switch for the interview.
  • Narrate. Say what you are about to do, why, and what you are unsure about.
  • Test as you go. After each stage, run a small case and one edge case before extending.
  • Watch the firm's mock interview video listed on its interviewing page to calibrate the pace and tone.

Different trading-firm emphases: D. E. Shaw for broad computer science fundamentals and Citadel for algorithms with a markets flavor. The Meta software engineer guide shows a faster, more standardized coding loop by contrast.

When you rehearse these multi-stage problems with a partner, Natively can keep a transcript of the session on your computer. Reading it back shows where you went quiet, or where you started typing before agreeing on the next requirement. Screenshot a practice prompt and it can read it and sketch a design to compare with your own after you finish. Adding your résumé (Pro or the free trial) helps it frame suggestions for the past-work questions around projects you actually shipped. More on the AI interview assistant.

Questions people ask

Do I need to know OCaml for a Jane Street software engineer interview?

No. Jane Street says you can interview in the language you know best, strongly encourages you not to try OCaml for the first time in an interview, and notes most engineers it hires arrive without OCaml experience.

What is the Jane Street software engineer interview process?

Jane Street's preparation page describes a technical interview over Zoom followed by final-round interviews in person. Some processes are more bespoke, and your recruiter explains those.

What kind of coding questions does Jane Street ask?

Open-ended problems with several possible approaches that extend as you go. You write real code, not pseudocode, and the interviewer watches how you reason and collaborate.

How do I prepare for Jane Street coding interviews?

Practice multi-stage problems aloud in your strongest language, test after each stage, know your language's standard library and costs, and be open about what you don't know.

Where to go next

Practice with the same assistant you would use on a call: it listens, transcribes and suggests answers from your own resume and the job description.

Facts on this page were last checked on . Product details come from the Natively app itself; if something here is out of date, tell us at hello@heynatively.com.

Keep reading

Put it on your own machine.

A live-conversation assistant that runs locally. Your conversations stay on your machine.

macOS 12+ · Windows 10/11

© 2026 Natively AI Private Limited

Source-available under the Natively Personal Use Source License v1.0 · IP geolocation by DB-IP