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

790. Domino and Tromino Tiling

790. Domino and Tromino Tiling
790. Domino and Tromino TilingDifficulty: MediumTopics: Dynamic ProgrammingYou have two types of tiles: a 2 x 1 domino shape and a tromino shape. You may rotate these shapes. Given an integer n, retur...
0 Read More