Concept Flow - Negative indexing
Start with array
Choose index
Is index negative?
No→Access element at index
Yes
Convert negative index to positive: length + index
Access element at converted index
Return element
Negative indexing means counting from the end of the array. If index is negative, add array length to get the positive index.