摘要: Gas Station题目:There areNgas stations along a circular route, where the amount of gas at stationiisgas[i].You have a car with an unlimited gas tank and... 阅读全文
posted @ 2014-08-28 16:38 yanyichao 阅读(146) 评论(0) 推荐(0)
摘要: 1 Candy题目:There areNchildren standing in a line. Each child is assigned a rating value.You are giving candies to these children subjected to the follo... 阅读全文
posted @ 2014-08-28 15:47 yanyichao 阅读(226) 评论(0) 推荐(0)