Concept Flow - Array Insertion at End
Start with array
Check if space available?
No→Resize array
Yes
Insert element at last index
Update array size
Done
Start with the array, check if there is space to add the new element. If not, resize the array. Then insert the element at the end and update the size.
