Apple Interview Question for Software Engineer / Developers






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

Such a monstrous problem!!!

- Anonymous January 26, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

yup...in which part of the interview did they ask this problem?

- anonymous February 01, 2010 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

A simple-minded solution for the multithread part of the code

while there is data in stdin
       - for each thread (1 < T)
            - read stdin (empty read ok)
            - start crypt thread on its local buffer+local key
            - rotate key
        - next
        - for each thread
            - join on thread T to finish (order is important!)
            - write to stdout (empty buffer ok)
        - next
    - wend

- Anonymous December 12, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

This is actually e-mail problem. I wrote code in 2 hours and sent, and I cleared interview.

- Anonymous July 23, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

Is is possible for you to share the code you emailed them?

- Stteve September 15, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

Could you share the code for this?

- ram October 29, 2014 | Flag


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