2015年5月18日

Candy

摘要: Candy问题:There areNchildren standing in a line. Each child is assigned a rating value.You are giving candies to these children subjected to the followi... 阅读全文

posted @ 2015-05-18 22:58 zhouzhou0615 阅读(202) 评论(0) 推荐(0) 编辑

Course Schedule II

摘要: Course Schedule II问题:There are a total ofncourses you have to take, labeled from0ton - 1.Some courses may have prerequisites, for example to take cour... 阅读全文

posted @ 2015-05-18 15:09 zhouzhou0615 阅读(109) 评论(0) 推荐(0) 编辑

Minimum Size Subarray Sum

摘要: Minimum Size Subarray Sum问题:Given an array ofnpositive integers and a positive integers, find the minimal length of a subarray of which the sum ≥s. If... 阅读全文

posted @ 2015-05-18 10:09 zhouzhou0615 阅读(147) 评论(0) 推荐(0) 编辑

导航