2579-count-total-number-of-colored-cells

DevGod
Vtuber
/** * @param {number} n * @return {number} */var coloredCells = function(n) { return 2*(n-1)*n+1;};
/** * @param {number} n * @return {number} */var coloredCells = function(n) { return 2*(n-1)*n+1;};