Leetcode - 48. Rotate Image

⛶/** * @param {number[][]} matrix * @return {void} Do not return anything, modify matrix in-place instead. */ var rotate = function (matrix) { let l = 0, r = matrix.length-1; while (l &...
0 Read More

Leetcode - 73. Set Matrix Zeroes

Javascript Code ⛶/** * @param {number[][]} matrix * @return {void} Do not return anything, modify matrix in-place instead. */ var setZeroes = function (matrix) { let ROWS = matrix.length, C...
0 Read More