CrowdStrike Interview Question

Reverse an array