Assuming a preexisting list of 100 words, how would you efficiently see if a word received from input is an anagram of any of the 100 words?
Software Interview Questions
550,593 software interview questions shared by candidates
Tell us about your interest in technology.
The third question was to generate all possible values for a string (for example if you have 'mother' sent as a string generate all possible strings you can have with the letters m, o, t, h, e, r like 'mthero', 'omther', 'therom', .....)
John went to a store and asked how much a certain item costs. The clerk said 1 dollar. John said "Okay, I'll have 600." The clerk said, okay your total bill is 3 dollars. What did John Buy?
imploment intToStr(); find lca
what is the minimum number to be multiplied to 100! in order to make it divisible by 350 and many more were there which i don't remember
There was a logic question that consisted of creating a scenario, where there were pieces of paper with a number on one side of the paper and a letter on the other side. There were four different pieces of paper: one with an X and another with a Y. The other two have a 1 and 2 on it respectively. My interviewer then gave me the assertion "On the back of every paper with an X, there is an even number" I was then asked which pieces of paper I needed to flip over in order to prove the assertion.
They asked me not to reveal any questions.
There was for instance a basic coding challenge interview at the start. But a thing I'll mention is, for a high-level company like FB, there was an odd obsession with basics, when people don't work that way -- it's not that it's irrelevant, it's better to be solid than not, but it's a tiny piece of the puzzle that's gating prospective hires. It was strange to not be asked the types of questions that would indicate actual capacity to innovate, manage, etc. I would have only done that kind of challenge for maybe a fresh graduate, not someone who's done real work.
Do an in-place (without allocating any extra memory) rearrangement of a list of integers, putting non-zero elements first.
Viewing 1031 - 1040 interview questions