Vulcan Cyber Interview Question

Q: how to sort an array