由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
JobHunting版 - facebook interview question @ careercup
相关主题
careercup 上一道F 题再问一道ms的面试题
obstacle avoidance的问题有解吗?C++: 如何对const data member做assignment?
G题求解迷津= 和 == 用英语怎么说
讨论一道面试题问道CodeEval上的题目
amazon电面跪了紧张中,请问background checking 时间
鼓起勇气做了一道一直以为很痛苦的题请教一道google面试题
问一道Facebook近期电面题legal, unrestricted right to work in the U.S.是指什么?
Q in C/C++Cleaning Robot 算法请教
相关话题的讨论汇总
话题: careercup话题: question话题: interview话题: facebook话题: 2d
进入JobHunting版参与讨论
1 (共1页)
l*********y
发帖数: 142
1
Given a 2D-grid map with several obstacles such as walls, doors and ones
with other shapes, use A* algorithm to give the robot a path from point A to
point B with fewest turns.
没想明白怎么做,哪位指点一下?
g*********s
发帖数: 1782
2
how to model "fewest turn"? assigning penalty is not good, i think.

A to

【在 l*********y 的大作中提到】
: Given a 2D-grid map with several obstacles such as walls, doors and ones
: with other shapes, use A* algorithm to give the robot a path from point A to
: point B with fewest turns.
: 没想明白怎么做,哪位指点一下?

l*****a
发帖数: 14598
3
convert the 2D-grid map to a graph ,no edge is there is obstacles.
then use A* algorithm.

A to

【在 l*********y 的大作中提到】
: Given a 2D-grid map with several obstacles such as walls, doors and ones
: with other shapes, use A* algorithm to give the robot a path from point A to
: point B with fewest turns.
: 没想明白怎么做,哪位指点一下?

h**6
发帖数: 4160
4
以边为点
1 (共1页)
进入JobHunting版参与讨论
相关主题
Cleaning Robot 算法请教amazon电面跪了
面经鼓起勇气做了一道一直以为很痛苦的题
G家面试题请教问一道Facebook近期电面题
一道LeetCode Unique Paths的变种Q in C/C++
careercup 上一道F 题再问一道ms的面试题
obstacle avoidance的问题有解吗?C++: 如何对const data member做assignment?
G题求解迷津= 和 == 用英语怎么说
讨论一道面试题问道CodeEval上的题目
相关话题的讨论汇总
话题: careercup话题: question话题: interview话题: facebook话题: 2d