Facebook Interview Report
- 1of 1 vote
AnswersGiven two arrays of sorted integers, merge them keeping in mind that there might be common elements in the arrays and that common elements must only appear once in the merged array.
- Interviewee February 27, 2014 in United States| Report Duplicate | Flag | PURGE
Facebook Software Engineer / Developer - 1of 1 vote
AnswersDesign question: Say you have hacked in to a network and can deploy your bot thousands of machines, how would you design your bot so that all the machines work together to download a website, say wikipedia. There should be load balancing and a page should be queryable given its URL.
- Interviewee February 27, 2014 in United States| Report Duplicate | Flag | PURGE
Facebook Software Engineer / Developer - 6of 8 votes
AnswersGiven a linked list where apart from the next pointer, every node also has a pointer named random which can point to any other node in the linked list. Make a copy of the linked list.
- Interviewee February 27, 2014 in United States| Report Duplicate | Flag | PURGE
Facebook Software Engineer / Developer - 1of 1 vote
AnswersGiven a matrix of letters and a word, check if the word is present in the matrix. E,g., suppose matrix is:
- Interviewee February 27, 2014 in United States
a b c d e f
z n a b c f
f g f a b c
and given word is fnz, it is present. However, gng is not since you would be repeating g twice.
You can move in all the 8 directions around an element.| Report Duplicate | Flag | PURGE
Facebook Software Engineer / Developer - 2of 2 votes
AnswersGiven a matrix consisting of 0's and 1's, find the largest connected component consisting of 1's.
- Interviewee February 27, 2014 in United States| Report Duplicate | Flag | PURGE
Facebook Software Engineer / Developer - 9of 9 votes
AnswersMicrosoft Excel numbers cells as 1...26 and after that AA, AB.... AAA, AAB...ZZZ and so on.
- Interviewee February 27, 2014 in United States
Given a number, convert it to that format and vice versa.| Report Duplicate | Flag | PURGE
Facebook Software Engineer / Developer