注册一亩三分地论坛,查看更多干货!
您需要 登录 才可以下载或查看附件。没有帐号?注册账号 
x
本帖最后由 Teddyw 于 2020-7-8 03:19 编辑
Given an array of 2D points, some points are marked as "Start" points. From each point, it can only move to any other points ptimized方法能解决很大的input?BFS, DFS处理大input都好慢
补充内容 (2020-7-10 04:08):
Delaunay triangulation or k-d tree? |