The Fake Geek's blog
Monday, November 21, 2016
Amazing number
›
Define amazing number as: its value is less than or equal to its index. Given a circular array, find the starting position, such that the ...
1 comment:
First pair non matching leaves
›
Given two (binary) trees, return the first pair of non-matching leaves Tree 1: A, B, C, D, E, null, null Tree 2: A, D, B Output: (E,B) D...
1 comment:
Sunday, November 20, 2016
Image/Video hosting service
›
Functionality This is a very broad question, the first thing is to figure out what's the purpose of this hosing service, is it used fo...
Design news feed
›
News feed is a very interesting problem, it looks very easy, but it can have lots of components. Functionality The basic functionality ...
Facebook typeahead search
›
What is typeahead? That's the search bar on top of the Facebook page. Easy, right? Now the question is how to design it. Unlike ...
Saturday, November 19, 2016
Design interview general approach -- tiny url example
›
1. Understand requirement: Start from understanding basic functionality. For example, If we need to design a tiny url, we know we want to m...
1 comment:
Friday, November 18, 2016
Design chat server
›
Explain how you would design a chat server. In particular, provide details about the various backend components, classes, and methods. What...
‹
›
Home
View web version