The Wayback Machine - https://web.archive.org/web/20230927014103/https://practice.geeksforgeeks.org/problems/rotate-a-2d-array-without-using-extra-space1004/1