Rusiru Gunaratne
Courses
Articles
About
Toggle theme
DSA
Toggle Sidebar
Topics
Big-O Notation
Data Structures
Arrays
Linked Lists
Stacks
Queues
Hash Tables
Algorithms
Fixed-Size Array
Self-Expanding Array
Fixed-Size Array (Capacity: 8)
Watch how elements shift left/right when adding or removing from start/middle
1
[0]
2
[1]
3
[2]
4
[3]
5
[4]
[5]
[6]
[7]
Size: 5 / 8
Add (with shifting)
Add to Start
Add to Middle
Add to End
Remove (with shifting)
Remove First
Remove Middle
Remove Last
Reset