2015年1月19日

Unique Paths II

摘要: Follow up for "Unique Paths":Now consider if some obstacles are added to the grids. How many unique paths would there be?An obstacle and empty space i... 阅读全文

posted @ 2015-01-19 21:42 luckygxf 阅读(150) 评论(0) 推荐(0)

Unique Paths

摘要: A robot is located at the top-left corner of amxngrid (marked 'Start' in the diagram below).The robot can only move either down or right at any point ... 阅读全文

posted @ 2015-01-19 20:37 luckygxf 阅读(195) 评论(0) 推荐(0)

Integer to Roman

摘要: Given an integer, convert it to a roman numeral.Input is guaranteed to be within the range from 1 to 3999. 1 public class Solution { 2 public Stri... 阅读全文

posted @ 2015-01-19 20:02 luckygxf 阅读(131) 评论(0) 推荐(0)

导航