由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
JobHunting版 - Secure communication puzzle
相关主题
BB家电面大家谈谈看???
matrix 0 1组成,找最大的1组成的cluster有面过knight的吗
static initialization dependency c++ (转载)C++ Q68: initialization (skillport)
问一个编程题问一个c++问题关于reference vs. pointer
怎么才能知道h1-b抽中没有啊?面试就是面试问题,跟实际问题差太远
two months passed and my H1B still initial review.singleton pattern problem
因为国籍悲剧 ?bloomberg 问题: C++ construct 时用 new 没"()"
新鲜 interveiw questions[板上牛人多]问个算法题
相关话题的讨论汇总
话题: value话题: node话题: vi话题: secure话题: students
进入JobHunting版参与讨论
1 (共1页)
j********x
发帖数: 2330
1
我老板想到的问题:
I came up an interesting problem after a student presentation: 12 of my
students want to find out their highest pay (but not other pay values).
The Gatech security group came up an elegant solution: students form a cycle
and they are all good citizens to follow the given rule. Upon receiving a
value v from its right neighbor, node i passes to its left neighbor a value
between i+1 and vi (inclusive) at his/her choice if vi > i otherwise passes
i. vi is node i's private value. The initiator starts with a number between
0 and vi. When a node sees the same number twice in two rounds, that value
is the highest pay among 12 students.
In fact, I can revise the algorithm to allow any number of initiators to
start and at any time while still generate the right answer. (If you want to
learn, take my Distributed System Design course in Spring 2012.)
Show that even each node only sees its right neighbor's message. The above
protocol is unfortunately not "secured". That is, more than the largest
value could be revealed if there is a smart student among 12 students.
One more question, if a "server" sees all messages passed around. Can the
server guess the private values if each node selects the value uniformly
random within the range specified in the rule at each round?
b*******y
发帖数: 232
2
题目好长啊...

cycle
value
passes
between

【在 j********x 的大作中提到】
: 我老板想到的问题:
: I came up an interesting problem after a student presentation: 12 of my
: students want to find out their highest pay (but not other pay values).
: The Gatech security group came up an elegant solution: students form a cycle
: and they are all good citizens to follow the given rule. Upon receiving a
: value v from its right neighbor, node i passes to its left neighbor a value
: between i+1 and vi (inclusive) at his/her choice if vi > i otherwise passes
: i. vi is node i's private value. The initiator starts with a number between
: 0 and vi. When a node sees the same number twice in two rounds, that value
: is the highest pay among 12 students.

j********x
发帖数: 2330
3
确实好长啊。。。
1 (共1页)
进入JobHunting版参与讨论
相关主题
[板上牛人多]问个算法题怎么才能知道h1-b抽中没有啊?
刚看了下shuffle算法。发现有个问题two months passed and my H1B still initial review.
发几个C++面试题,senior的职位因为国籍悲剧 ?
A question about C++. Thanks.新鲜 interveiw questions
BB家电面大家谈谈看???
matrix 0 1组成,找最大的1组成的cluster有面过knight的吗
static initialization dependency c++ (转载)C++ Q68: initialization (skillport)
问一个编程题问一个c++问题关于reference vs. pointer
相关话题的讨论汇总
话题: value话题: node话题: vi话题: secure话题: students