From 5a7c9f1281c8e5adf34df18144e3e00b799c0cca Mon Sep 17 00:00:00 2001 From: Arpita Gupta <59776939+ArpitaGupta4086@users.noreply.github.com> Date: Mon, 30 Aug 2021 19:08:41 +0530 Subject: [PATCH] Updated the example Array is : {1,2,3,4} "After shifting 1 to right Array look like {2,3,4,1}" --- This needs to be changed as after shifting 1 to right the array we get is {4,1,2,3} --- Array-Rotation/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Array-Rotation/README.md b/Array-Rotation/README.md index d07e676..2cfb710 100644 --- a/Array-Rotation/README.md +++ b/Array-Rotation/README.md @@ -5,7 +5,7 @@ Array Roation is nothing but shifting array elements one by one from left to right or right to left. eg. : Array is : {1,2,3,4} After shifting 1 to right Array look like - {2,3,4,1} + {4,1,2,3} ## Types of Array Rotation