It is one of many hardest locations to work in Silicon Valley – and
one of many best-paid.
So it is no shock Facebook offers
its candidates some VERY tough interview questions.
From chucking lightbulbs off the Empire State Constructing to
discovering a needle in a haystack, candidates inform of an array of
weird queries on job review website Glassdoor.
Listed below are 10 of probably the most perplexing within the would-be coders’ personal
What number of are you able to reply?
Discover a needle in a haystack
Many candidates had been instructed to resolve real-life issues – in
laptop converse, in fact.
One was instructed: “Write a C operate to outline strstr(char
*haystack, char * needle) to return the primary incidence of
needle in haystack.”
What occurred to the old style getting down in your palms
Heads or tails?
“Decide up a coin C1 given C1+C2 with chance of trials
p(h1)=.7, p(h2)=.6 and doing 10 trials.
“What’s the chance that the given coin you picked is C1
given you might have 7 heads and three tails?”
What number of staff does it take to interrupt a lightbulb?
One candidate was requested to cope with a query of lightbulbs
and a skyscraper the scale of the Empire State Constructing.
“You’ve two lightbulbs and a 100-storey constructing,” the
candidate was instructed.
“You need to discover the ground at which the bulbs will break when
dropped. Discover the ground utilizing the least variety of drops.”
Is it raining or not?
“You are about to get on a aircraft to Seattle. You need to know if
it is best to convey an umbrella.
“You name three random pals of yours who dwell there and ask every
independently if it is raining.
Picture: Gareth Chaney Collins)
“Every of your pals has a 2/three likelihood of telling you the reality
and a 1/three likelihood of messing with you by mendacity.
“All three pals inform you that ‘Sure’ it’s raining. What’s the
chance that it is truly raining in Seattle?”
Extraordinarily organised crime
“You are attempting to rob homes on a avenue,” one candidate was
“Every home has some money. Your purpose is to rob homes such that
you maximise the whole robbed quantity.”
There is a catch – as soon as a home has been robbed the 2 homes
next-door cannot be damaged into.
Get out of jail free
“How would you measure/calculate the speed of rehabilitation in
Eire wasn’t chosen at random – the query was directed at
an applicant to Fb’s European headquarters in Dublin.
(Picture: Getty Photos)
“When and the way Fb will attain 2 billion customers?”
It feels like a ridiculous query at first, nevertheless it’s not.
Earlier this yr the social community revealed it has almost 1.four
billion month-to-month lively customers.
The trick is understanding a code to inform how the numbers will go
How do you root out a cheater?
“A professor desires to see if two college students have cheated when
writing a paper.
“Design a operate hasCheated(String s1,String s2, int N) that
evaluates to true if two strings have a typical substring of
Presumably Fb did not use the code towards its candidates.
It is a 25-horse race
“25 racehorses, no stopwatch. 5 tracks.
“Determine the highest three quickest horses within the fewest quantity
Do you at all times costume like that?
Not all of the questions concerned complicated maths.
One disgruntled applicant to Fb’s California HQ
complained they had been requested: “Do you at all times costume like that?”
“They ship a number of blended messages,” the candidate stated. “The
web site states that it is best to costume enterprise for the
interview, however I used to be dissed by one of many employees for doing
Regardless of the hitch the candidate was provided a job – however turned
What number of questions may you reply?
500+ VOTES SO FAR