Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/betomoedano/JavaScript-Coding-Interview-Questions
/ zero-matrix.js
File
zero-matrix.js
matrix/zero-matrix.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
"use strict"
;
2
/**
3
* Do a first pass through the matrix to find which cells have 0's. When a 0 is
4
* found then mark that row and column as needing to be zeroed out. On the second
Callers
nothing calls this directly
Calls
1
zeroMatrix
Function · 0.85
Tested by
no test coverage detected