---
title: "#rotate-array articles | Hashnode"
description: "Explore 8 articles tagged #rotate-array on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/rotate-array"
---

Tag

# #rotate-array

8 posts · 0 followers

[Hyunwoo Choi](https://hashnode.com/@choi) · [Mar 29, 2025](https://hashnode.com/posts/leetcode-1d-array/67e7c5a10075a2b6be9689eb)

### [Leetcode - 1D array](https://hyunwoochoi.hashnode.dev/leetcode-1d-array?utm_source=hashnode&utm_medium=feed)

There are few interesting algorithms to approach 1D array problems. First, Kadane’s algorithm. This is useful to find local max in 1D array. Second, two pointer technique. One pointer starts from the beginning of 1D array and another pointer starts f...

4 min read · [hyunwoochoi.hashnode.dev](https://hyunwoochoi.hashnode.dev/leetcode-1d-array?utm_source=hashnode&utm_medium=feed)

[Partha Sarathi Bhunia](https://hashnode.com/@partha04) · [Mar 2, 2025](https://hashnode.com/posts/efficient-sudoku-generator/67c40307a189792dcb05f486)

### [Efficient Sudoku Generator](https://partha-sarathi.hashnode.dev/efficient-sudoku-generator?utm_source=hashnode&utm_medium=feed)

A simple yet minimal time taking approach

5 min read · [partha-sarathi.hashnode.dev](https://partha-sarathi.hashnode.dev/efficient-sudoku-generator?utm_source=hashnode&utm_medium=feed)

[Ujjwal Sharma](https://hashnode.com/@ujjwalsharma) · [Jul 3, 2024](https://hashnode.com/posts/rotate-the-array-by-k-places/66855391b83c836124b2a097)

### [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

2 min read · [ujjwalsharma.hashnode.dev](https://ujjwalsharma.hashnode.dev/rotate-the-array-by-k-places?utm_source=hashnode&utm_medium=feed)

[Mahbub Alam Masum](https://hashnode.com/@masum-dev) · [Jun 15, 2024](https://hashnode.com/posts/how-to-right-rotate-an-array-by-d-positions/666d5d424e6cc40486aee1a1)

### [How to Right Rotate an Array by D Positions](https://blog.masum.dev/how-to-right-rotate-an-array-by-d-positions?utm_source=hashnode&utm_medium=feed)

Learn efficient methods to right rotate an array by D positions using a temporary array or an in-place reversal algorithm

4 min read · [blog.masum.dev](https://blog.masum.dev/how-to-right-rotate-an-array-by-d-positions?utm_source=hashnode&utm_medium=feed)

[Mahbub Alam Masum](https://hashnode.com/@masum-dev) · [Jun 15, 2024](https://hashnode.com/posts/how-to-left-rotate-an-array-by-d-positions/666d584bb758e1f1f4ca5144)

### [How to Left Rotate an Array by D Positions](https://blog.masum.dev/how-to-left-rotate-an-array-by-d-positions?utm_source=hashnode&utm_medium=feed)

Learn two efficient methods to left rotate an array by D positions: using a temp array and the reversal algorithm

4 min read · [blog.masum.dev](https://blog.masum.dev/how-to-left-rotate-an-array-by-d-positions?utm_source=hashnode&utm_medium=feed)

[saurav ghimire](https://hashnode.com/@thesauravghimire) · [Jun 26, 2023](https://hashnode.com/posts/finding-an-element-in-rotated-array/6498f2a8d30c844cb835df8e)

### [Finding an element in Rotated Array](https://sauravghimire.hashnode.dev/finding-an-element-in-rotated-array?utm_source=hashnode&utm_medium=feed)

If you have ever used an algorithm like Binary Search, you may have come across its advantages over the Time complexity of, let's say a linear search. We will not dive into the realms of time complexities for now. Let us suppose, we have an Array of ...

2 min read · [sauravghimire.hashnode.dev](https://sauravghimire.hashnode.dev/finding-an-element-in-rotated-array?utm_source=hashnode&utm_medium=feed)

[Nilesh Saini](https://hashnode.com/@Nile) · [May 19, 2023](https://hashnode.com/posts/rotate-array/6467bdf7457e22fdfffd4f93)

### [Rotate Array](https://nileshsaini.hashnode.dev/rotate-array?utm_source=hashnode&utm_medium=feed)

Different approaches to solve Leetcode 189 in JavaScript

5 min read · [nileshsaini.hashnode.dev](https://nileshsaini.hashnode.dev/rotate-array?utm_source=hashnode&utm_medium=feed)

[Han](https://hashnode.com/@EunHaSu) · [Jan 6, 2023](https://hashnode.com/posts/solution189-rotate-array/63b88b4ee4e46e591c593fb1)

### [\[Solution\]189. Rotate Array](https://eunhanlee.hashnode.dev/solution189-rotate-array?utm_source=hashnode&utm_medium=feed)

Problem Problem\_Link Solutions (time, space) O(n), O(n) class Solution { public void rotate(int\[\] nums, int k) { int len = nums.length; int\[\] rtnNums = new int\[len\]; // Rotate elements for (int i = 0; i < len; i++...

3 min read · [eunhanlee.hashnode.dev](https://eunhanlee.hashnode.dev/solution189-rotate-array?utm_source=hashnode&utm_medium=feed)
