* BruteForce Approach: we will insert our each row of original array in the temp array from last column to first and then finally we will copy the temp array into the original array.
You are given an n x n 2D matrix representing an image. Rotate the image by 90 degrees (clockwise) in-place. You have to rotate the image in-place, which means you have to modify the input 2D matrix ...