Autodesk interview question

Reversing Array (Easy) Leetcode Hard Graph