Redian新闻
>
请问Program committee member 算contribution还是review阿?
avatar
请问Program committee member 算contribution还是review阿?# Immigration - 落地生根
w*k
1
Given an array A, output another array B such that B[k]=product of all
elements in A but A[k]. You are not allowed to use division。
显然interviewer是想考察一点什么技巧,一个直接的二重循环当然不是google想要的
答案。但是苦苦思索,没有头绪。请大侠赐教!
谢谢!
avatar
k*o
2
因为我们会议的PC member就是要review paper的。当然你可以发给别人帮你review。
这个怎么claim?是两个都claim?说只有牛人才能当pc member。 然后judge别人工作
的时候,又说一遍我review 了多少多少篇文章?
thanks
avatar
t*a
3
this is a problem listed in careercup 150. it need some trick and could be
done in O(n).
here is a python solution:
def convert(A):
left = [1]
for i in range(0, len(A)-1): left.append(left[-1]*A[i])
right = [1]
for i in range(1, len(A)): right.insert(0,right[0]*A[-i])
B = []
for i in range(0, len(A)): B.append(left[i]*right[i])
return B
avatar
l*5
4
REIVEW, 当然了, 若有炸药奖得主之类的也当这个MEMBER, 你就可以吹了
avatar
h*k
5
用这个公式
B[k]=Product(1,k-1) * Product(k+1, n)
Product(i,j) = A[i]*A[i+1]*...*A[j]
So Product(1,j)=Product(1,j-1)*A[j];
Prodcut(j,n)=Product(j+1,n)*A[j]
O(n)的时间和空间复杂度。

【在 w*****k 的大作中提到】
: Given an array A, output another array B such that B[k]=product of all
: elements in A but A[k]. You are not allowed to use division。
: 显然interviewer是想考察一点什么技巧,一个直接的二重循环当然不是google想要的
: 答案。但是苦苦思索,没有头绪。请大侠赐教!
: 谢谢!

avatar
k*o
6
oh...many thanks.
如果他们查一下,发现只有一两个还比较牛的人,其他很多都是水货,就惨了,呵呵

【在 l******5 的大作中提到】
: REIVEW, 当然了, 若有炸药奖得主之类的也当这个MEMBER, 你就可以吹了
avatar
w*k
7
谢谢!

【在 h**k 的大作中提到】
: 用这个公式
: B[k]=Product(1,k-1) * Product(k+1, n)
: Product(i,j) = A[i]*A[i+1]*...*A[j]
: So Product(1,j)=Product(1,j-1)*A[j];
: Prodcut(j,n)=Product(j+1,n)*A[j]
: O(n)的时间和空间复杂度。

avatar
s*8
8
how to Chui?? I am in a committe which has two national academy members

【在 l******5 的大作中提到】
: REIVEW, 当然了, 若有炸药奖得主之类的也当这个MEMBER, 你就可以吹了
avatar
f*g
9
another very good and simple DP problem :S
avatar
A*r
10
厉害。

【在 h**k 的大作中提到】
: 用这个公式
: B[k]=Product(1,k-1) * Product(k+1, n)
: Product(i,j) = A[i]*A[i+1]*...*A[j]
: So Product(1,j)=Product(1,j-1)*A[j];
: Prodcut(j,n)=Product(j+1,n)*A[j]
: O(n)的时间和空间复杂度。

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。