由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
CS版 - 请教一个算法问题, 关于点和点之间距离
相关主题
shortest path algorithm(dijkstra)的变形A question on NP-hard, maybe sound stupid
问一个算法的问题?求教 优化算法 迫切等待。多谢
问题About the optimal algorithms on matching
Re: 请问大牛们leetcode上的Permutations II (转载)Transportation problem
list of distance measures!问一下primitive recursive function等于哪些其它的complexity class?
谁有什么solution吗?请问哪里有introduction to complexity的习题解答?
推荐几本理论的书吧请问怎么计算两种clustering之间的差异
[转载] CS interview question[合集] 谁来给CS定义一下最基本的知识结构吧?
相关话题的讨论汇总
话题: given话题: distances话题: points话题: complexity话题: any
进入CS版参与讨论
1 (共1页)
t******t
发帖数: 51
1
Given N points in a 3-D space, find all pairs of points whose distances are
exactly a given number p. An
obvious solution is to calculate all pairwise distances with time complexity
O(N^2). Any solutions that are
more efficient than that? Thanks.
b******k
发帖数: 18
2
kd tree?

are
complexity

【在 t******t 的大作中提到】
: Given N points in a 3-D space, find all pairs of points whose distances are
: exactly a given number p. An
: obvious solution is to calculate all pairwise distances with time complexity
: O(N^2). Any solutions that are
: more efficient than that? Thanks.

1 (共1页)
进入CS版参与讨论
相关主题
[合集] 谁来给CS定义一下最基本的知识结构吧?list of distance measures!
Dijkstra SSSP@CLR的疑问 (转载)谁有什么solution吗?
[合集] 问个 gaussian distribution distance的问题推荐几本理论的书吧
[合集] 读计算机两年博士毕业需不需要拖到三年?[转载] CS interview question
shortest path algorithm(dijkstra)的变形A question on NP-hard, maybe sound stupid
问一个算法的问题?求教 优化算法 迫切等待。多谢
问题About the optimal algorithms on matching
Re: 请问大牛们leetcode上的Permutations II (转载)Transportation problem
相关话题的讨论汇总
话题: given话题: distances话题: points话题: complexity话题: any