摘要: 题目描述 Given a range [m, n] where 0 <= m <= n <= 2147483647, return the bitwise AND of all numbers in this range, inclusive. 题目大意 给一个区间[m, n],求该区间内所有元素按 阅读全文
posted @ 2019-06-10 11:24 你好哇傻小妞 阅读(105) 评论(0) 推荐(0) 编辑
摘要: 题目描述 Given a 2d grid map of '1's (land) and '0's (water), count the number of islands. An island is surrounded by water and is formed by connecting ad 阅读全文
posted @ 2019-06-10 10:35 你好哇傻小妞 阅读(179) 评论(0) 推荐(0) 编辑