---
title: "Discussion on \"Rotate Image — LeetCode #48\" | Hashnode"
description: "Discussion on \"Rotate Image — LeetCode #48\". You are given an n x n 2D matrix representing an image, rotate the image by 90 degrees (clockwise).\nYou have to rotate the image in-place, which means you have to modify the input 2D matrix directly. DO NOT allocate another 2D matrix and do the rotat..."
url: "https://hashnode.com/posts/rotate-image-leetcode-48/63a975b476f421e1a2348556"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Rotate Image — LeetCode #48](https://normanaranez.hashnode.dev/rotate-image-leetcode-48?utm_source=hashnode&utm_medium=feed)

You are given an n x n 2D matrix representing an image, rotate the image by 90 degrees (clockwise). You have to rotate the image in-place, which means you have to modify the input 2D matrix directly. DO NOT allocate another 2D matrix and do the rotat...

Dec 26, 2022 · 3 min read · normanaranez.hashnode.dev  
Read the article

-   [#leetcode](https://hashnode.com/tag/leetcode)
-   [#python](https://hashnode.com/tag/python)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#typescript](https://hashnode.com/tag/typescript)
-   [#java](https://hashnode.com/tag/java)

## Written by

[Norman Aranez](https://hashnode.com/@Cody123)

@Cody123

  
[View profile](https://hashnode.com/@Cody123)

Helping you navigate the world of technology with clarity and precision.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
