由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
JobHunting版 - 一道面试题
相关主题
借人气请教一个google面试题问一道常见面试题,reverse a linked list
System怎么实现Scalability,有这方面的面试题吗?【面试题:remove deuplicate from linked list】
问到面试题:如何保证系统的可扩展性和容错能力一道面试题
发个architect面试题问道面试题
请教一个关于POSIX的面试题面试题总结(6) - Linked List
问一道FB design面试题如果需要用到Linked list
一算法面试题今天的面试题
EMC面试题FB面试题一道的follow up
相关话题的讨论汇总
话题: friends话题: linked话题: design话题: person话题: function
进入JobHunting版参与讨论
1 (共1页)
b******y
发帖数: 126
1
Say you need to design a web application which needs to support friends of
friends function(like in linked in, when you search a person, it will show
you if this person is linked with you, your connection or your connections'
conection...), we expect to have millions of users and each user may have
thousands of friends, how would you design/implement this function to make
it scalable.
b******y
发帖数: 126
2
Any thoughts, any one?
x*****p
发帖数: 1707
3
This is typically a bigraph. Each user is a node. Two users have an edge if
they are friends.
b******y
发帖数: 126
4
Any thoughts, any one?
b******y
发帖数: 126
5
But where do you hold the data, if use the database what is the strategy to
read the data, if put them in cache, what is the strategy to keep them
synchronized.
1 (共1页)
进入JobHunting版参与讨论
相关主题
FB面试题一道的follow up请教一个关于POSIX的面试题
问一道GOOGLE有点像设计题的题问一道FB design
Job Opening: SDE in Amazon一算法面试题
一个open question的讨论EMC面试题
借人气请教一个google面试题问一道常见面试题,reverse a linked list
System怎么实现Scalability,有这方面的面试题吗?【面试题:remove deuplicate from linked list】
问到面试题:如何保证系统的可扩展性和容错能力一道面试题
发个architect面试题问道面试题
相关话题的讨论汇总
话题: friends话题: linked话题: design话题: person话题: function