← Questions

Mini spreadsheet with formulas and cycle detection

0
HarveyOpenAICharacter.AI+3CodingLast asked Oct 2026

A coding interview question asked in Harvey's coding round and at OpenAI, Character.AI and 3 more companies, last asked Oct 2026. It tests dependency resolution, topological sort and cycle detection.

Build a small in-memory spreadsheet. Cells are named by letters followed by digits, such as A1 or B10.

Sign in to unlock this question

The full prompt, the worked answer and your own canvas or code with the AI tutor. New accounts get 5 credits: each one unlocks a question for good.

Where it's asked

  • Harvey · Coding · Last asked Oct 202660 min · Live practical coding · Candidates report freedom to use the tools and languages they know; confirm with your recruiter
  • OpenAI · Agentic coding (beta) · Last asked Sep 2026An existing codebase and changes too large to write by hand; you work through them with an AI coding agent · An AI coding agent is expected
  • Character.AI · Technical phone screen · Last asked Sep 202660 min · Live coding, usually in Python
  • Amazon · Coding · Last asked Aug 202655 min · Usually two rounds; one is often an object-oriented design built in steps · No AI
  • Pika · Technical phone screen · Last asked Aug 2026Coding
  • Sierra · Technical phone screen · Last asked Dec 202560 min · One live coding problem in Python or TypeScript

What it tests

dependency resolution · topological sort · cycle detection · dfs

Your code and the AI tutor open when you unlock this question.