🔢 Array Playground
Swaps performed:
0
Array is empty. Set a length and click "Resize" to start!
🔍
Array status will appear here
How to use:
-
Change values: Click on any array
element to edit its value
-
Swap elements: Drag one element onto
another to swap their positions
-
Resize array: Change the length input
and click "Resize"
-
Quick actions: Use the buttons to
randomize values (0-100), shuffle positions, reverse
order, reset to 0,1,2..., or clear the array
-
Rotate operations: Use the rotate
controls to shift elements left or right by a specified
number of positions
-
Status bar: Monitor if your array is
sorted in real-time