摘要: A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below). The robot can only move either down or right at any p 阅读全文
posted @ 2016-02-24 22:06 wangb021 阅读(196) 评论(0) 推荐(0) 编辑
摘要: package leetcode;public class WordSearch2 { public static int[] DX = { 0, 1, 0, -1 }; public static int[] DY = { 1, 0, -1, 0 }; public static boolean 阅读全文
posted @ 2016-02-24 16:48 wangb021 阅读(156) 评论(0) 推荐(0) 编辑