摘要:
https://leetcode.com/problems/binary-watch/ // 参考 https://discuss.leetcode.com/topic/59374/simple-python-java // 非常棒的方法 public class Solution { public List readBinaryWatch(int num) { Li... 阅读全文
posted @ 2016-09-21 01:49
blcblc
阅读(201)
评论(0)
推荐(0)
摘要:
https://leetcode.com/problems/elimination-game/ // 一行代码就可以,不过原理有些复杂 // https://discuss.leetcode.com/topic/58042/c-1-line-solution-with-explanation // return n == 1 ? 1 : 2 * (1 + n / 2 - lastRemaini... 阅读全文
posted @ 2016-09-21 01:21
blcblc
阅读(233)
评论(0)
推荐(0)

浙公网安备 33010602011771号