Harvey interview, decoded.

Harvey's loop is built around one kind of problem: text under structure. The coding rounds ask for a spreadsheet engine that detects a cycle, a file vault that handles duplicate names, or the highlights in a sentence that overlap; the design round asks for retrieval with citations over a law firm's documents, where a fabricated source is worse than no answer. Around that sit a recruiter screen, a coding screen at LeetCode medium in Python, an onsite of four to five rounds that ends in a project deep dive rather than a storytelling round, and for senior candidates a conversation with a founder.

Harvey was founded in San Francisco in 2022 by Winston Weinberg, a litigator at O'Melveny, and Gabriel Pereyra, a research scientist at DeepMind and Meta. On 9 September 2026 it raised $550 million at a $15.5 billion valuation, six months after raising $200 million at $11 billion; it reports more than 100,000 lawyers across 1,300 organisations on the product and a majority of the AmLaw 100. It also hires lawyers, as legal engineers, on a loop of their own.

Free · 2 minutes · no account

The questions for your exact Harvey role and level.

See the questions Harvey asks ↓Run a free mock interview →

Interviewing at Harvey? Below are the questions candidates report. For the ones your exact role and level will get, paste the posting. Your first mock is free.

01

Who Harvey hires

Different tracks, one bar

Harvey hires software engineers across product, platform and AI infrastructure, applied AI and ML engineers, and a separate track of legal engineers: qualified lawyers with three or more years in practice who run pilots and demos for law firms and in-house teams. Engineering is office-based in San Francisco by the postings, with roles elsewhere; the legal engineer roles are split by customer type (law firm corporate, law firm litigation and regulatory, in-house). A law degree is not asked of engineers, but every account says candidates who understand how a matter, a due diligence or a contract review actually runs make better product calls in the rounds.

Two tracks, two loops. The engineering loop tests whether you can build and design over documents that run to hundreds of pages with no margin for a wrong citation; the legal engineer loop tests whether a lawyer can run the product in front of a firm and be believed.

  • Track · Eng

    Software and AI engineering

    Recruiter screen, a 60-minute coding screen, then a virtual onsite of four to five rounds: one or two coding rounds, a system design round set in Harvey's own products (Vault, Assistant, agents), often an ML or LLM application round, and a project deep dive that doubles as the behavioural round. Senior and above add a founder interview. One 2026 report names an AI-assisted coding onsite, so ask the recruiter whether tools are allowed in yours.

  • Track · Legal

    Legal engineering

    For lawyers with a JD or equivalent and three or more years in practice. The first interview is with recruiting and covers all three of Harvey's legal roles (legal engineer, legal innovation partner, applied legal research) to place you; the posting asks for someone comfortable leading a live demo and running pilots with prospects, so expect to give one. Pay for the law-firm corporate role in San Francisco is posted at $220,000 to $320,000 on-target, split 75/25, plus equity.

02

What is the Harvey interview process?

Round by round

Published accounts describe four to six stages over three to five weeks for engineering, with a founder round at senior. The rounds below are the engineering loop; the legal engineer track is described under the tracks and rests on Harvey's own postings and hiring post rather than candidate reports.

01
Recruiter screen
20 to 30 minutes

Background, why legal AI, logistics. For lawyers this is also where Harvey decides which of its three legal roles fits you.

02
Hiring manager screen
About 45 minutes

Motivation and role fit, and a first pass on what you have owned.

Not every account
03
Coding screen
60 minutes in a shared editor

A multi-part problem at LeetCode medium or above, Python dominant; one candidate notes you may look up syntax. Arrays, strings, hash maps, and the text-under-structure shape the onsite repeats.

04
Onsite: coding
One or two rounds of 45 to 60 minutes

The reported problems: a spreadsheet engine with cycle detection, finding duplicate files safely at scale, an in-memory file vault with duplicate-name handling, highlighting overlapping phrases, merging highlights and ranking their citations, a tokeniser simulated without a model.

Engineering track
05
Onsite: system design
45 to 60 minutes

Set in the product: retrieval-augmented answers with citations over a document vault, a memo Q&A agent for a large law firm, a secure PDF data room, a Google-Drive-style Vault. Chunking, reranking, grounding, tenant isolation, latency and cost at a firm's scale.

Engineering track
06
Onsite: ML or LLM application
45 to 60 minutes

Prompt design, evaluation, hallucination detection, a rule-guided document evaluation agent; practical engineering rather than model internals.

AI and ML roles, some SWE loops
07
Onsite: project deep dive
45 to 60 minutes

One system you built, end to end, tied to how Harvey works: ownership, ambiguity, shipping with lawyers and product people in the room. Accounts say this stands in for a separate behavioural round.

08
Founder interview
30 to 45 minutes

Product vision and the bets the company is making, with a founder or executive.

Senior and above
03

What Harvey screens for

What every round is really testing

The reports agree on what is screened beyond the code: product judgement about legal work, accuracy under zero tolerance for a wrong source, and ownership at speed.

  • Product judgement informed by how legal work actually runs: due diligence, drafting, research, review
  • Grounded output: every answer cites a real source, and a fabricated one is a failure of the system
  • Comfort with enterprise security: tenant isolation, encryption, privilege-aware access
  • Ownership and speed in ambiguity, shipping with non-engineers involved
  • Curiosity about the customer; Harvey's own hiring post says this is required of every role
04

Harvey interview questions

Candidate-reported themes

The reported questions come from 49 candidate reports on PracHub and 17 on 1Point3Acres in 2026, and they cluster tightly: text with structure in the coding rounds, documents at scale in design.

Behavioural & motivation

  • Walk me through your past projects, and the one you would build again differently.
  • Tell me about a system you built that had to scale quickly, and what broke on the way.
  • Why Harvey, and why legal AI rather than another applied AI company?
  • How do you decide what to build when the people who understand the problem are lawyers, not engineers?

Technical

  • Spreadsheet engine: Cells with formulas referencing other cells; evaluate, propagate updates, detect a cycle
  • Files and vaults: Find duplicate files safely at scale; an in-memory file directory with duplicate-name handling; design Vault, a Drive-style store for a firm
  • Highlights and citations: Highlight overlapping phrases in a sentence; merge exact-word highlights and rank their citations
  • Retrieval with grounding: RAG over a document vault that returns an answer with citations to source passages; a memo Q&A agent for a large firm; chunking and reranking
  • Enterprise security: A secure PDF data room: tenant isolation, encryption, per-document access, audit
  • Text processing without a model: Turn input strings into tokenised sequences with a trie or graph, embeddings simulated, no ML library

These are the reported themes — your loop is role-specific. Paste the actual posting and Calibrd predicts the questions for that exact role and level.

Predict my Harvey questions →
05

Harvey coding rounds: the problems candidates report and how to solve them

Reported problems and how to solve them

Harvey has no timed online assessment; the filter is a 60-minute coding screen, then the onsite coding rounds. Forty-nine reported questions across 2026 share one shape, text under structure, and the same handful of problems recur across reports. The exact statement varies by interviewer, so what follows is each problem's family and the approach that solves it.

  • A spreadsheet engine with cycle detection: Model cells as nodes and formula references as edges. Evaluate with a depth-first search that marks a cell visiting, then done; meeting a visiting cell is the cycle. For updates, keep the reverse dependency graph and re-evaluate dependents in topological order. Get evaluation working before propagation; the cycle case is what the follow-up asks for.
  • Find duplicate files safely at scale: Group by size first, then by a hash of the first few kilobytes, then by a full hash, so almost no file is read in full. Stream the hash rather than loading the file; say out loud that a hash collision is possible and what a byte-compare fallback costs. The 'safely' is about never deleting on a hash alone.
  • An in-memory file vault with duplicate-name handling: A tree of directory nodes, each with a map from name to child. On a name collision, generate the next free suffix ('memo (1).pdf') by counting from the map rather than scanning. Support path resolution, listing and move; a trie-shaped tree keeps every operation proportional to path depth.
  • Highlight overlapping phrases in a sentence: Turn each match into an interval over character offsets, sort by start, and merge intervals that touch or overlap into one highlight. When highlights carry a source, merge equal spans and rank their citations by the count or weight behind them; it is interval merging with a tie-break.
  • Retrieval-augmented answers with citations over a document vault: Chunk by structure (sections, clauses) rather than fixed size, embed, retrieve the top k, rerank with a cross-encoder, then generate with the passages in context and require each claim to point at a passage id. A grounding check that rejects a citation not in the retrieved set is the part interviewers wait for.
  • A memo Q&A agent for a large law firm: The same retrieval loop, wrapped in an agent with tools (search, fetch a document, check permissions), a per-user permission filter applied before retrieval so a privileged memo never reaches the context, and an evaluation set of real questions with known sources. Name the failure you are designing against: a confident answer citing a memo the user cannot see.
  • A secure PDF data room: Tenant isolation at the storage and query layer, encryption at rest with per-tenant keys, per-document access lists, watermarked viewing, an audit log of every open; then the product questions: bulk upload, indexing for search, redaction. Security first, then features, is the order that reads as understanding the customer.

Practise in Python with its idioms in hand (comprehensions, dictionaries, sets, collections), and practise talking while you type: every account describes interviewers who push on details to see how you take feedback. One 2026 report names an AI-assisted coding onsite; if your recruiter confirms tools are allowed, the round grades how you direct and verify the assistant, not whether you used it.

06

Pay

What the offer looks like
L3 (software engineer)~$390K total, San Francisco
L5 (staff)~$492K total, San Francisco
Senior SWE, AI Platform (posting)$220K–$300K base plus equity
Legal engineer, law firm corporate (posting)$220K–$320K on-target, 75/25, plus equity

The medians are Levels.fyi's software engineer figures for the San Francisco Bay Area, L3 to L5, read on 21 September 2026 from a small sample; the posted ranges are Harvey's own on its careers pages the same day (a senior AI platform role and the law-firm corporate legal engineer role). London roles are reported at roughly 30 per cent below San Francisco base. One third-party guide estimates $300K to $450K total at mid, $450K to $650K at senior and $650K to $950K at staff; treat those as estimates. Equity has been marked up through four rounds in eighteen months, which is the thing to ask about: strike price, vesting, and whether the grant is priced at the $15.5 billion round.

07

How to prepare for a Harvey interview

In order
  1. 01Solve the spreadsheet problem before they ask it. Cells, formulas, dependency graph, cycle detection, then update propagation, in Python, under 45 minutes.
  2. 02Have the retrieval design ready to draw, with the grounding check: chunk by structure, retrieve, rerank, generate with passage ids, reject any citation not in the retrieved set.
  3. 03Read about how legal work runs. Every account says candidates who can picture a due diligence or a contract review make better product calls in the design and deep-dive rounds.
  4. 04Prepare one project for the deep dive as if it were the behavioural round, because it is: ownership, ambiguity, and shipping with non-engineers in the room.
  5. 05Legal engineers: rehearse a live demo of a legal use case for a sceptical partner, and know which of Harvey's three legal roles you are asking for before the recruiter call.
  6. 06Ask the recruiter whether the coding onsite is AI-assisted; at least one 2026 loop was.

This guide covers Harvey's software and AI engineering loop and the legal engineer track, which is a role for qualified lawyers rather than developers. For management and leadership roles the loop is similar but the bar shifts to people, delivery and strategy, so pair it with the leadership interview prep hub. The bar for your exact role comes from the role-by-role guides, and the prep that actually transfers is spoken, so run a mock interview before the real one.

Knowing the questions isn’t the same as answering them out loud. Run a Harvey mock: spoken answers, coached on the spot. Your first mock is free.

Run a Harvey mock →
08

FAQ & sources

The short answers
What is Harvey's interview process?

Published accounts describe four to six stages over three to five weeks for engineering, with a founder round at senior. The rounds below are the engineering loop; the legal engineer track is described under the tracks and rests on Harvey's own postings and hiring post rather than candidate reports. Recruiter screen: Background, why legal AI, logistics. For lawyers this is also where Harvey decides which of its three legal roles fits you. Hiring manager screen: Motivation and role fit, and a first pass on what you have owned. Coding screen: A multi-part problem at LeetCode medium or above, Python dominant; one candidate notes you may look up syntax. Arrays, strings, hash maps, and the text-under-structure shape the onsite repeats. Onsite: coding: The reported problems: a spreadsheet engine with cycle detection, finding duplicate files safely at scale, an in-memory file vault with duplicate-name handling, highlighting overlapping phrases, merging highlights and ranking their citations, a tokeniser simulated without a model. Onsite: system design: Set in the product: retrieval-augmented answers with citations over a document vault, a memo Q&A agent for a large law firm, a secure PDF data room, a Google-Drive-style Vault. Chunking, reranking, grounding, tenant isolation, latency and cost at a firm's scale. Onsite: ML or LLM application: Prompt design, evaluation, hallucination detection, a rule-guided document evaluation agent; practical engineering rather than model internals. Onsite: project deep dive: One system you built, end to end, tied to how Harvey works: ownership, ambiguity, shipping with lawyers and product people in the room. Accounts say this stands in for a separate behavioural round. Founder interview: Product vision and the bets the company is making, with a founder or executive.

What does Harvey look for in candidates?

The reports agree on what is screened beyond the code: product judgement about legal work, accuracy under zero tolerance for a wrong source, and ownership at speed. Product judgement informed by how legal work actually runs: due diligence, drafting, research, review Grounded output: every answer cites a real source, and a fabricated one is a failure of the system Comfort with enterprise security: tenant isolation, encryption, privilege-aware access Ownership and speed in ambiguity, shipping with non-engineers involved Curiosity about the customer; Harvey's own hiring post says this is required of every role

What questions does Harvey ask in interviews?

The reported questions come from 49 candidate reports on PracHub and 17 on 1Point3Acres in 2026, and they cluster tightly: text with structure in the coding rounds, documents at scale in design. Walk me through your past projects, and the one you would build again differently. Tell me about a system you built that had to scale quickly, and what broke on the way. Why Harvey, and why legal AI rather than another applied AI company? How do you decide what to build when the people who understand the problem are lawyers, not engineers? Spreadsheet engine Files and vaults Highlights and citations Retrieval with grounding Enterprise security Text processing without a model

What coding questions does Harvey ask?

Harvey has no timed online assessment; the filter is a 60-minute coding screen, then the onsite coding rounds. Forty-nine reported questions across 2026 share one shape, text under structure, and the same handful of problems recur across reports. The exact statement varies by interviewer, so what follows is each problem's family and the approach that solves it. A spreadsheet engine with cycle detection: Model cells as nodes and formula references as edges. Evaluate with a depth-first search that marks a cell visiting, then done; meeting a visiting cell is the cycle. For updates, keep the reverse dependency graph and re-evaluate dependents in topological order. Get evaluation working before propagation; the cycle case is what the follow-up asks for. Find duplicate files safely at scale: Group by size first, then by a hash of the first few kilobytes, then by a full hash, so almost no file is read in full. Stream the hash rather than loading the file; say out loud that a hash collision is possible and what a byte-compare fallback costs. The 'safely' is about never deleting on a hash alone. An in-memory file vault with duplicate-name handling: A tree of directory nodes, each with a map from name to child. On a name collision, generate the next free suffix ('memo (1).pdf') by counting from the map rather than scanning. Support path resolution, listing and move; a trie-shaped tree keeps every operation proportional to path depth. Highlight overlapping phrases in a sentence: Turn each match into an interval over character offsets, sort by start, and merge intervals that touch or overlap into one highlight. When highlights carry a source, merge equal spans and rank their citations by the count or weight behind them; it is interval merging with a tie-break. Retrieval-augmented answers with citations over a document vault: Chunk by structure (sections, clauses) rather than fixed size, embed, retrieve the top k, rerank with a cross-encoder, then generate with the passages in context and require each claim to point at a passage id. A grounding check that rejects a citation not in the retrieved set is the part interviewers wait for. A memo Q&A agent for a large law firm: The same retrieval loop, wrapped in an agent with tools (search, fetch a document, check permissions), a per-user permission filter applied before retrieval so a privileged memo never reaches the context, and an evaluation set of real questions with known sources. Name the failure you are designing against: a confident answer citing a memo the user cannot see. A secure PDF data room: Tenant isolation at the storage and query layer, encryption at rest with per-tenant keys, per-document access lists, watermarked viewing, an audit log of every open; then the product questions: bulk upload, indexing for search, redaction. Security first, then features, is the order that reads as understanding the customer.

How do I prepare for a Harvey interview?

Solve the spreadsheet problem before they ask it. Cells, formulas, dependency graph, cycle detection, then update propagation, in Python, under 45 minutes. Have the retrieval design ready to draw, with the grounding check: chunk by structure, retrieve, rerank, generate with passage ids, reject any citation not in the retrieved set. Read about how legal work runs. Every account says candidates who can picture a due diligence or a contract review make better product calls in the design and deep-dive rounds. Prepare one project for the deep dive as if it were the behavioural round, because it is: ownership, ambiguity, and shipping with non-engineers in the room. Legal engineers: rehearse a live demo of a legal use case for a sceptical partner, and know which of Harvey's three legal roles you are asking for before the recruiter call. Ask the recruiter whether the coding onsite is AI-assisted; at least one 2026 loop was.

  • 01PracHub, Harvey interview questions49 reported questions in 2026 (19 coding, 8 system design, 3 ML system design), the 'text under structure' pattern, and the named problems: duplicate files at scale, the in-memory file vault, overlapping highlights, merged highlights with ranked citations, RAG over a document vault, the memo Q&A agent, the secure PDF data room, the rule-guided evaluation agent.
  • 021Point3Acres, Harvey interview reports17 reports from April to September 2026: the spreadsheet and Excel cell problems, duplicate file finder, Vault in-memory file directory, citation highlighting, design a text editor, design Vault, the memo Q&A agent, and one AI-assisted coding onsite.
  • 03Aced (Exponent), interviewing at Harvey AI'Implement spreadsheet' and 'tell me about your past projects' as recently asked, and the tokenisation problem with simulated embeddings and no ML models.
  • 04TechInterview, Harvey interview guide 2026the stages and durations (recruiter screen, 45-minute hiring manager screen, 60-minute coding screen, four-to-five-round onsite, founder interview at senior), three to five weeks, the round-by-round focus, and the third-party pay estimates by level; updated 3 July 2026.
  • 05Aced (Exponent), Harvey ML operations engineer interviewthe paired coding on tokenisation and vector databases, the solution architecture presentation, the director round, four to six weeks, and that collaboration is judged through the technical work rather than a separate behavioural round.
  • 06Taro, Harvey senior software engineer, August 2025first-hand: a difficult multi-part screening problem at LeetCode medium or above, syntax lookups allowed, a helpful interviewer, and the candidate's read that it seemed a stressful place to work.
  • 07Harvey, The ultimate guide to landing a job at Harvey (Katie Burke, COO, 5 August 2026)the three legal roles (legal engineers, legal innovation partners, applied legal research), that legal engineers veer toward sales and customer success, and that every role needs curiosity about customers.
  • 08Harvey careers, Legal Engineer (Law Firm, Corporate)JD or equivalent and 3+ years in practice, pilots and live demos, the initial recruiting interview covering all three legal roles, and $220,000 to $320,000 on-target 75/25 plus equity in San Francisco; read 21 September 2026.
  • 09Harvey careers, Senior Software Engineer, AI Platform$220,000 to $300,000 plus equity, San Francisco office-based, and the line that legal is one of the hardest domains for AI with zero margin for error; read 21 September 2026.
  • 10Levels.fyi, Harvey software engineer, San Francisco Bay Areathe L3 to L5 medians, about $390K to $492K total, read 21 September 2026.
  • 11TechCrunch, Harvey hits a $15.5B valuationthe $550M round on 9 September 2026 co-led by Diffusion and Lightspeed, more than $1.55B raised in total, the $11B round in March and $8B in December 2025, and Harvey Tenet, its first in-house model.
  • 12Harvey, raising at an $11 billion valuation (25 March 2026)the $200M round co-led by GIC and Sequoia, more than 100,000 lawyers across 1,300 organisations, a majority of the AmLaw 100, and the product names: Vault, agents, Spaces, Knowledge, Memory.
  • 13Wikipedia, Harvey (software)the founders and their backgrounds, the founding in San Francisco in 2022, and the funding history from the OpenAI Startup Fund seed to the September 2026 round.

Prep for a real Harvey role

Practise your Harvey interview, out loud.

Paste a real Harvey posting and Calibrd predicts the questions for that role and level, benchmarks the pay, and flags the gaps an interviewer will probe in your CV — then listens to your spoken answers and coaches them. Your first mock is free.

Free to start · No card · Encrypted at rest, never used to train AI, remove anytime

Harvey Interview: Loop, Legal Engineer Track, Pay — Calibrd