Initial call with a recruiter. Set up a phone screen the very next day. Had a technical phone interview with code sharing. Given a BST, print the nodes at each level on a separate line. I could do this easily with a queue, but he wanted something with O(n) time complexity and O(1) space, i.e., no additional data structure like queues, linked lists, or array lists.
Given a BST, print the nodes at each level on a separate line. I could do this easily with a queue, but he wanted something with O(n) time complexity and O(1) space. That is, no additional data structures like queues, linked lists, or array lists.
The following metrics were computed from 595 interview experiences for the Apple Software Engineer role in United States.
Apple's interview process for their Software Engineer roles in the United States is very selective, failing most engineers who go through it.
Candidates reported having very good feelings for Apple's Software Engineer interview process in United States.