2014年12月22日

摘要: Gas StationThere are N gas stations along a circular route, where the amount of gas at station i is gas[i].You have a car with an unlimited gas tank a... 阅读全文
posted @ 2014-12-22 23:18 Yu's Garden 阅读(2893) 评论(2) 推荐(2) 编辑
摘要: Binary Tree Level Order TraversalGiven a binary tree, return the level order traversal of its nodes' values. (ie, from left to right, level by level).... 阅读全文
posted @ 2014-12-22 20:24 Yu's Garden 阅读(529) 评论(0) 推荐(0) 编辑
摘要: Minimum Path SumGiven a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers ... 阅读全文
posted @ 2014-12-22 20:06 Yu's Garden 阅读(718) 评论(0) 推荐(0) 编辑

导航