Canva Coding Interview Questions
25 Canva coding interview problems with full optimal solutions — 16 easy, 8 medium, 1 hard. Every problem ships with multiple approaches (brute-force first, then the optimal), complexity tables for each, company-specific tips on what an Canva interviewer values, and a FAQ section.
Showing 8 problems of 25
- #48mediumfoundational
48. Rotate Image
Rotate an n×n matrix 90 degrees clockwise in-place — Canva reaches for this to see whether you can decompose a 2D coordinate transform into the transpose-then-reflect steps their canvas rotation engine uses under the hood.
- #54mediumfoundational
54. Spiral Matrix
Traverse an m×n matrix in spiral order and return every element — Canva asks this to probe boundary-management discipline, the same discipline needed to correctly clip rendering passes to the visible canvas viewport.
- #56mediumfoundational
56. Merge Intervals
Merge all overlapping intervals into the fewest non-overlapping ones — Canva's timeline editor collapses overlapping animation keyframe ranges using exactly this pattern, so expect it early in a phone screen.
- #57mediumfoundational
57. Insert Interval
Insert a new interval into a sorted, non-overlapping list and merge as needed — Canva's animation timeline must splice new keyframe ranges into an existing schedule without disruption, making this a direct analogue to production code.
- #73mediumfoundational
73. Set Matrix Zeroes
Zero out entire rows and columns wherever a zero appears — Canva uses this to test in-place mutation discipline, mirroring how their grid-layout engine propagates empty-cell constraints without allocating a second matrix.
- #79mediumfoundational
79. Word Search
Determine whether a word exists as a connected path of adjacent letters in a character grid — Canva uses grid-backtracking problems to evaluate candidates who will work on spatially-aware features like auto-snapping, object search, and canvas hit-testing.
- #200mediumfoundational
200. Number of Islands
Count connected regions of '1's in a binary grid — Canva applies connected-component logic to detect isolated element groups on a canvas, making this a strong signal for how you think about spatial partitioning in a design editor.
- #207mediumfoundational
207. Course Schedule
Detect whether a set of course prerequisites forms a cycle — Canva applies topological-sort cycle detection to their layer-dependency graph, where circular element references would cause infinite render loops in their design engine.