Facebook Interview Report
- 0of 0 votes
AnswersQuestion: Design a component that implements the following functionality..
- ss June 01, 2011
1) Record an Event (For the sake of simplicity, treat the Event as an integer code)
2) Return the number of Events recorded in the last one minute.
3) Return the number of Events recorded in the last one hour.
i.e implement the following interface
- Design the interface first
- Give the implementation detail.
<<>>
Open ended question:
What if there isn't enough storage available to store each individual event ?| Report Duplicate | Flag | PURGE
Facebook Software Engineer / Developer Algorithm - 0of 0 votes
AnswersDesign a system to calculate the number of unique words in a file..
- ss June 01, 2011
1) What if the file is huge ? (i.e cannot fit in the main memory)
2) Assuming that you have more than one computers available, how can you distribute the problem ?| Report Duplicate | Flag | PURGE
Facebook Software Engineer / Developer Data Structures
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.