Concept Flow - Array Insertion at Beginning
Check if array has space
Yes
Shift all elements right by 1
Insert new element at index 0
Done
No
Resize array or error
Start by checking if there is space. If yes, shift all elements one step right. Then insert the new element at the start.
