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 1 problem of 25
- #73mediumsometimes
73. Set Matrix Zeroes
Zero out entire rows and columns wherever a zero appears, without allocating a second matrix — Canva candidates report this as a test of in-place mutation discipline, a natural fit for a design tool whose layout grids are memory-sensitive at large canvas sizes. The interview ladder is predictable: the O(m+n) tracking-set version proves correctness, then the real question lands — do it again in O(1) extra space using the matrix itself as scratch storage.