摘要: Question: Given an integer, convert it to a roman numeral. Input is guaranteed to be within the range from 1 to 3999. Analysis: 给出一个整数,将它转换成罗马数字。 注意:保 阅读全文
posted @ 2016-02-25 22:01 江湖小妞 阅读(162) 评论(0) 推荐(0)
摘要: Question: 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 e 阅读全文
posted @ 2016-02-25 12:50 江湖小妞 阅读(189) 评论(0) 推荐(0)
摘要: Question: 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 righ 阅读全文
posted @ 2016-02-25 12:45 江湖小妞 阅读(130) 评论(0) 推荐(0)