boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
JobHunting版 - yahoo面试题
相关主题
再讨论一个面试难题
题目来啦
Leet Code, three sum closest
Given a list of Points, output k Points closest to (0,0)怎么做
寻找下一个回文数
interview question: Given a list of points in 2D and a single reference point, find k nearest neighb
问一道F的面试题 - 找kNN for 2D points
问一道面试题
看一道面试题
问个面试题
相关话题的讨论汇总
话题: points话题: given话题: closest话题: find话题: 面试题
进入JobHunting版参与讨论
1 (共1页)
M**********e
发帖数: 211
1
Given n points in the form (x1, y1, z1)…..(xn, yn, zn), find the k closest
points to the origin.
Given the same points as above, find the K closest points to each other.
有什么快速解法没
m*****f
发帖数: 1243
c*********n
发帖数: 1057
3
这题目也太高端了。。。

【在 m*****f 的大作中提到】
: 应该是用kdtree
: http://en.wikipedia.org/wiki/Kd_tree

a********1
发帖数: 750
4
k nearest neighbors是经典问题吧

【在 c*********n 的大作中提到】
: 这题目也太高端了。。。
c*********n
发帖数: 1057
5
是用那个kdtree么?

【在 a********1 的大作中提到】
: k nearest neighbors是经典问题吧
s******f
发帖数: 3984
6
这不是pattern recognition里面的k-nn么
算个距离排序么,还能怎样
1 (共1页)
进入JobHunting版参与讨论
相关主题
问个面试题
请教一个面试题
Google 面试题 一道
问一个面试题
Amazon面试题请教
[合集] 微软面试题一道
大家看一下这道google面试题
请问驿道面试题
问几道面试题
问个google面试题
相关话题的讨论汇总
话题: points话题: given话题: closest话题: find话题: 面试题