โ† Expedia questions
CodingMediumReported in a candidate post, Dec 2020

Set Matrix Zeroes with constant space

Filed under Expedia

Given an m x n integer matrix, if an element is 0, set its entire row and column to 0's. Do it in-place with constant space O(1).

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Expedia questions

Collected from public candidate posts and coding forums. Updated Nov 2026.