流程:
1.自我介绍
2.问我为什么在项目里使用Kafka
3.做题,题目如下。我写不出来,直接就结束了。
Given a m*n grid, a start position (x0, y0), a target position (x1, y1). Some grids are walkable (1) and other grids are obstacles (0). You control a robot which can move in {up, down, left, right} 4 directions on walkable grids. You need to output the length of shortest path to move the robot from start position to target position.
全部评论
(7) 回帖