aboutsummaryrefslogtreecommitdiff
path: root/Computer_Science/leetcode/54-spiral_matrix.c~
blob: d1b8665a5f289ef8d033b157ffa0d7810d435091 (plain)
1
2
3
4
5
6
7
/**
 * Note: The returned array must be malloced, assume caller calls free().
 */
int* spiralOrder(int** matrix, int matrixRowSize, int matrixColSize) {
	int* result = malloc(sizeof(int) * matrixRowSize * matrixColSize);
	
}