Microsoft Interview Question

spiral matrix, rotate image, maximum sum subarray