Facebook Interview Question for Senior Software Development Engineers
- -1of 1 vote
It started with simple behavioral questions like, why facebook, cultural fit questions etc. They asked simple question.
You are at latest version of committed code. assume one branch of code. Code version is in sorted order. It is corrupted with bug. You have fun isBug(VerNumber) which returns True or False. Find the version in which bug was introduced?
This can be solved with linearly checking each version or modified binary search. Person asked to write test cases? This is where i struggled. how do you write test case for this question? Do you guys use framework syntax or something else?- anonymous January 22, 2015 in India
| Report Duplicate | Flag | PURGE
Facebook Senior Software Development Engineer Algorithm
Open Chat in New Window