Apple Interview Question

standard algo and data structures