---
title: "Discussion on \"Rotate the array by K places\" | Hashnode"
description: "Discussion on \"Rotate the array by K places\". Learn how to rotate an array by K places using brute force and optimal approaches with code examples and dry run illustrations"
url: "https://hashnode.com/posts/rotate-the-array-by-k-places/66855391b83c836124b2a097"
---

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

Discussion

# [Rotate the array by K places](https://ujjwalsharma.hashnode.dev/rotate-the-array-by-k-places?utm_source=hashnode&utm_medium=feed)

Learn how to rotate an array by K places using brute force and optimal approaches with code examples and dry run illustrations

Jul 3, 2024 · 2 min read · ujjwalsharma.hashnode.dev  
Read the article

-   [#dailydoseofdsa](https://hashnode.com/tag/dailydoseofdsa)
-   [#dsa](https://hashnode.com/tag/dsa)
-   [#array](https://hashnode.com/tag/array)
-   [#rotate-array](https://hashnode.com/tag/rotate-array)
-   [#google](https://hashnode.com/tag/google)
-   [#leetcode](https://hashnode.com/tag/leetcode)
-   [#leetcode-solution](https://hashnode.com/tag/leetcode-solution)
-   [#leetcodedaily](https://hashnode.com/tag/leetcodedaily)

## Written by

[Ujjwal Sharma](https://hashnode.com/@ujjwalsharma)

@ujjwalsharma · New Delhi

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

Thriving the way to success

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
