Search
⌘K

Leetcode 3033. Modify the Matrix

Given an m x n matrix, return a new matrix where each entry equal to -1 is replaced by the maximum value found in its column (each column is guaranteed to contain at least one non-negative).


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Comments

Your account is free and you can post anonymously if you choose.