摘要: 原题链接在这里: https://leetcode.com/problems/add-binary/ 题目: Given two binary strings, return their sum (also a binary string). For example,a = "11"b = "1"R 阅读全文
posted @ 2015-08-15 09:36 Dylan_Java_NYC 阅读(230) 评论(0) 推荐(0)
摘要: 原题链接在这里:https://leetcode.com/problems/power-of-two/ 题目: Given an integer, write a function to determine if it is a power of two. 题解: bit manipulation, 阅读全文
posted @ 2015-08-15 08:39 Dylan_Java_NYC 阅读(365) 评论(0) 推荐(0)
摘要: 原题链接在这里:https://leetcode.com/problems/rectangle-area/ 题目: Find the total area covered by two rectilinear rectangles in a 2D plane. Each rectangle is d 阅读全文
posted @ 2015-08-15 07:56 Dylan_Java_NYC 阅读(193) 评论(0) 推荐(0)