Facebook Interview Review
348 Interview Reviews |
Back to all Facebook Interview Questions & Reviews
Interview questions and reviews posted anonymously by interview candidates
Facebook Software Engineer Interview
Posted Jan 19, 2010 2010-01-19 18:03 PST — 1 of 1 people found this helpful
3.0
Average Interview
|
Overall Positive Experience
|
Interviewed and No Offer
|
Interviewed Jan 2010 (took a day)
I was referred by an employee and was contacted by a hr recruiter, who scheduled a phone interview with me. From reading online I was expecting a basic screen with questions like why do I want to work at Facebook, and what I do currently. I wasn't expecting any technical questions at this stage but she did throw a basic search question, which flustered me a bit, and after a few minutes of me talking it out but not giving the exact right answer, she said she would get back to me with next steps which would either be to complete one of the puzzles on the website or to schedule phone interviews with an engineer. Promptly the next day she responded that I needed to do at least one of the puzzles and that there was no time limit, but the faster I completed it, the faster I could move on. I'm currently working on one of the puzzles.
Interview Questions
Other Details
The interview consisted of a Phone Interview.
Helpful Interview?
Yes |
No
Inappropriate?
Comments (15)
Inappropriate?
Inappropriate?
Inappropriate?
Inappropriate?
X=ln500/ln2= 6.214608/0.693147=8.965784. So the answer is 9.
Inappropriate?
Think of it this way. You have a string of 1000 Christmas lights (no religion-slamming on Christmas - not the point), and they're the old kind that requires all bulbs to be working for the whole string to work. The string goes out. Assuming that only one bulb burned out, they're small so you can't just look at the bulb to see if it's burned out or not, and you really don't want to be standing out in the cold for a long time finding the bulb, it really helps to remember this binary-search rule. Instead of up to 1000 bulbs to check, you only need to check up to 10.
Bob, you're close. It's 2^x = 1000, not 500.
Inappropriate?
Inappropriate?
Inappropriate?
Inappropriate?
However I would expect a facebook interviewer would want you to recognise the binary-tree search question. So after you answer 1, you'll be asked to find 10. I would've said ln(1000) so it's 10.
Inappropriate?
1000
500
250
125
63
32
16
8
4
2
Inappropriate?
My 13 year old son understands this problem. Woe is the world if people don't understand this.
Inappropriate?
the maximum guess is 9
in case of the can guess the correct answer at the first time, then the minimum guess is 1
but the maximum guess is like what bah said
but, you forgot something. That you will NEVER choose 1,000 for the first guess
your first guess would be 500.
Inappropriate?
Inappropriate?
To comment on this
interview,
Sign In with Facebook or
Sign Up



by David C: