INTRODUCTION

WHAT IS ARRAY ROTATION?

Array rotation simply means shifting the elements of the array left or right by specified positions.

  • Left rotation is also know as clockwise rotation.
  • Right rotation is also known as anti-cockwise rotation.

 

 

22

12