Asana logo

Asana Interview Question Bank

Asana's engineering loop is built around object-oriented design: modeling games and puzzles shows up in the phone screen and again onsite, alongside a long solo build of a small stateful program. With a stable, well-known question set, interviewers weigh how clearly you reason and communicate trade-offs as much as whether the code works.

Coding problems
9
Before you start
Showing 15 of 15
Coding·120 min
MediumFree preview

ASCII Canvas Printer

2-hour onsite coding round. Implement a fixed 10x6 ASCII canvas holding layered rectangles with DRAW_RECTANGLE, ERASE_AREA (cell-level, applied to every overlapping rectangle, can leave non-rectangular shapes), DRAG_AND_DROP (moves the topmost visible rectangle, keeps its layer), BRING_TO_FRONT, and PRINT_CANVAS. Roughly 60-70 minutes of solo coding, then a review of your code and trade-offs.

SWE
simulation
grid
oop-design
parsing
+1
6 related discussions