Apple interview question

standard algo and data structures