xxxxxxxxxx
/**
Do not return anything, modify matrix in-place instead.
*/
function rotate(matrix: number[][]): void {
};
xxxxxxxxxx
- Scaling:
- reshaping image
- Enlarging / shrinking image
- Stretching image vertically / horizontally
- Translation
- Shifting image vertically / horizontally / diagnally
- Rotation
- Rotate the image by a degree of theta
xxxxxxxxxx
/**
* @param {number[][]} matrix
* @return {void} Do not return anything, modify matrix in-place instead.
*/
var rotate = function(matrix) {
};
xxxxxxxxxx
# @param {Integer[][]} matrix
# @return {Void} Do not return anything, modify matrix in-place instead.
def rotate(matrix)
end
xxxxxxxxxx
class Solution {
/**
* @param Integer[][] $matrix
* @return NULL
*/
function rotate(&$matrix) {
}
}