Sponsored
Sponsored
Use these hints if you're stuck. Try solving on your own first.
Use nested loops to run through all possible 3 x 3 windows in the matrix.
For each 3 x 3 window, iterate through the values to get the maximum value within the window.