摘要: You are given two jugs with capacities jug1Capacity and jug2Capacity liters. There is an infinite amount of water supply available. Determine whether 阅读全文
posted @ 2016-06-30 08:55 Grandyang 阅读(14557) 评论(12) 推荐(0)
摘要: Assume you have an array of length n initialized with all 0's and are given k update operations. Each operation is represented as a triplet: [startInd 阅读全文
posted @ 2016-06-30 08:14 Grandyang 阅读(13494) 评论(3) 推荐(0)
Fork me on GitHub