← Questions

Design layer document with undo, redo and batches

0
FigmaGoogleCodingLast asked Sep 2026

A coding interview question asked in Figma's coding round and at Google, last asked Sep 2026. It tests design, undo-redo and hash map.

You are building the core of a design tool. A document holds layers.

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

  • Figma · Coding · Last asked Sep 202660 min · One or two pair-programming rounds against provided tests
  • Google · First round: coding · Last asked Feb 202645 min · Coding in a Google Doc, no syntax highlighting or autocomplete · No AI

What it tests

design · undo-redo · hash map · stack

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