---
title: "Discussion on \"Check if Array is Sorted and Rotated\" | Hashnode"
description: "Discussion on \"Check if Array is Sorted and Rotated\". Problem Statement\nGiven an integer array nums, return true if the array was originally sorted in non-decreasing order and then rotated some number of positions (including 0). Otherwise, return false."
url: "https://hashnode.com/posts/check-if-array-is-sorted-and-rotated/6a5f108458b23661b0c9cecb"
---

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

Discussion

# [Check if Array is Sorted and Rotated](https://linked-list-reverse.hashnode.dev/check-if-array-is-sorted-and-rotated?utm_source=hashnode&utm_medium=feed)

Problem Statement Given an integer array nums, return true if the array was originally sorted in non-decreasing order and then rotated some number of positions (including 0). Otherwise, return false.

Jul 21 · 7 min read · linked-list-reverse.hashnode.dev  
Read the article

## Written by

[Bhavadharani K](https://hashnode.com/@Bhavadharani412)

@Bhavadharani412 · India

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

Blog Driven Learning...

aspiring SDE

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
