For the complete documentation index, see llms.txt. This page is also available as Markdown.

x 48. Rotate Image

In place: transpose + reverse

time: O(n x m)

space: O(1)

time: O(n x m)

space: O(n x m)

Last updated