LeetCode 335. Self Crossing(贪吃蛇)
原题网址:https://leetcode.com/problems/self-crossing/
You are given an array x of n positive numbers. You start at point (0,0) and
moves x[0] metres to the north, then x[1] metres
to the west, x[
原创
2016-04-30 01:55:51 ·
828 阅读 ·
0 评论