Apple Interview Question for Senior Software Development Engineers


Country: United States
Interview Type: Phone Interview




Comment hidden because of low score. Click to expand.
3
of 3 vote

I think you guys need to think about filesystems and other OS components.

Not everything in computer is implemented using hast table.

In case of spotlight if you see wiki the underlying data structure is B trees.

Think in that direction what factor apart from B trees would be a performance hit.

Hint: think about filesystems

- anon June 28, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
3
of 3 vote

Interviewer asked what parameter you'll consider so I would suggest, lets break down our performance analysis into 3 categories.
1. Hardware:
not enough memory, cpu utilisation by another process, number of page faults due to insufficient memory.

2. Software
Running time analysis of algorithm used in searching, suggest use of appropriate data structure or algorithm if not used.

3. Network.
If data coming from some remote site, look for optimisation of network calls, some design patterns for searching on remote site. etc..

- the-awakened-1 September 22, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

from user searching perspective :
file type, when modified, created ,file size etc

From programers perspective:
creating indices on contents

- javispute June 28, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

parameters for performance is 1. use appropriate searching algorithm according to size of content. 2. make a hash table or hash map of contents which will make searching fast.

- vandna June 28, 2013 | Flag Reply


Add a Comment
Name:

Writing Code? Surround your code with {{{ and }}} to preserve whitespace.

Books

is a comprehensive book on getting a job at a top tech company, while focuses on dev interviews and does this for PMs.

Learn More

Videos

CareerCup's interview videos give you a real-life look at technical interviews. In these unscripted videos, watch how other candidates handle tough questions and how the interviewer thinks about their performance.

Learn More

Resume Review

Most engineers make critical mistakes on their resumes -- we can fix your resume with our custom resume review service. And, we use fellow engineers as our resume reviewers, so you can be sure that we "get" what you're saying.

Learn More

Mock Interviews

Our Mock Interviews will be conducted "in character" just like a real interview, and can focus on whatever topics you want. All our interviewers have worked for Microsoft, Google or Amazon, you know you'll get a true-to-life experience.

Learn More