Write a function to rotate a matrix 90 degrees counterclockwise.
HardProblem Statement
Write a function to rotate a matrix 90 degrees counterclockwise.
Sample Input
[[1, 2, 3], [4, 5, 6], [7, 8, 9]]
Sample Output
[[7, 4, 1], [8, 5, 2], [9, 6, 3]]
Limits
Time: 2s · Memory: 256 MB