boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
JobHunting版 - 这题怎么做的?
相关主题
Facebook system design
这题被问过两次都不会,请教
问个精华区的面试题
为啥careerCup 4里面graph就一题
报Google Offer并请教面试题
Word ladder 2这种题目很吃力
A家面试题
puzzle, 娱乐一下
发篇面经
这题什么意思?
相关话题的讨论汇总
话题: 这题话题: celebrity话题: graph话题: outdegree话题: 其他人
进入JobHunting版参与讨论
1 (共1页)
l*********r
发帖数: 674
1
一个party N个人,如果一个人不认识任何其他人,又被任何其他人认识,此人为
celebrity。用O(n)时间找到此celebrity.
x*****p
发帖数: 1707
2
This is actually a direct graph and we are going to find a node with
indegree N-1 and outdegree 0.
l*********r
发帖数: 674
3
I know, but how to do it in O(N)?

【在 x*****p 的大作中提到】
: This is actually a direct graph and we are going to find a node with
: indegree N-1 and outdegree 0.

I*********g
发帖数: 93
4
what is the input?

【在 l*********r 的大作中提到】
: I know, but how to do it in O(N)?
a***y
发帖数: 547
5
competition graph

【在 l*********r 的大作中提到】
: I know, but how to do it in O(N)?
1 (共1页)
进入JobHunting版参与讨论
相关主题
这题什么意思?
请问这题有没有公式可以直接求解?
这题怎么做?
这题有解吗?
Google面试怎么这么难啊,LG很难过,我该怎么劝他呢? (转载)
如何回答这题:how to explain binary search tree to a 5 year old child
这题啥意思?
Amazon电面,比楼层扔鸡蛋题更难的智力题
请教一个常见的面试题的答案
akamai电面面经,攒rp
相关话题的讨论汇总
话题: 这题话题: celebrity话题: graph话题: outdegree话题: 其他人