avatar
问几道L家的设计题# JobHunting - 待字闺中
s*g
1
看Glassdoor还有本版的L家设计题,发现没有经验的话很不好做。求高手指点一下以下
几道设计题应该怎么着手。还有四天时间去面试,不知道有什么方法可以临阵磨枪,希
望大家指点。谢谢了!
(1)
How would you design an enhancement to the LinkedIn homepage that displays
24-hour trailing lists (5-minute, 1-hour, 1-day) of the top 5 URLs that
users post onto the site?
(2)
How do you design the monitoring system for linkedin servers?
Design diagnostics system for linkedin Answer Question
How would you design the reporting system for linkedin servers? Answer
Question
(3)
Design and code a system that can accept millions of events in real time and
report the number of events for the last 10 minutes (sliding window). The
system has to account for performance and concurrency. View Answer
(4)
Given a large number of records (with increasing but not necessarily
consecutive sequence number), design a indexing scheme
谢谢了!
avatar
g*9
2
搭车问, 顶
avatar
S*n
3
lz的id是湘水山庄?
1)3 hashtable+list
hashtable: key: url, value: list node
list node: pair(count, queue)
每次post新的url,更新value,沿着list跟之前的node比较,如果更大,就交换直到有序
当query top 5的时候还是得把整个list更新一遍,然后sort
可能还是hashtable+heap比较好一点
4)用16位,32位整数做index,然后用hash算法map道不同机器上去,应该就可以了吧
avatar
s*g
4
看Glassdoor还有本版的L家设计题,发现没有经验的话很不好做。求高手指点一下以下
几道设计题应该怎么着手。还有四天时间去面试,不知道有什么方法可以临阵磨枪,希
望大家指点。谢谢了!
(1)
How would you design an enhancement to the LinkedIn homepage that displays
24-hour trailing lists (5-minute, 1-hour, 1-day) of the top 5 URLs that
users post onto the site?
(2)
How do you design the monitoring system for linkedin servers?
Design diagnostics system for linkedin Answer Question
How would you design the reporting system for linkedin servers? Answer
Question
(3)
Design and code a system that can accept millions of events in real time and
report the number of events for the last 10 minutes (sliding window). The
system has to account for performance and concurrency. View Answer
(4)
Given a large number of records (with increasing but not necessarily
consecutive sequence number), design a indexing scheme
谢谢了!
avatar
g*9
5
搭车问, 顶
avatar
e*7
6
同求。
觉得好难啊
avatar
p*2
7
1,3都是典型的storm应用。看来现在面试只懂hadoop不够呀
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。