2016年9月11日

【LeetCode】168. Excel Sheet Column Title 解题小结

摘要: 题目: Given a positive integer, return its corresponding column title as appear in an Excel sheet. For example 简单题 阅读全文

posted @ 2016-09-11 11:49 医生工程师 阅读(145) 评论(0) 推荐(0) 编辑

【LeetCode】67. Add Binary 解题小结

摘要: 题目: Given two binary strings, return their sum (also a binary string). For example,a = "11"b = "1"Return "100". 阅读全文

posted @ 2016-09-11 11:20 医生工程师 阅读(213) 评论(0) 推荐(0) 编辑

【LeetCode】204. Count Primes 解题小结

摘要: 题目: Description: Count the number of prime numbers less than a non-negative number, n. 这个题目有提示,计算素数的方法应该不用多说。 阅读全文

posted @ 2016-09-11 10:00 医生工程师 阅读(103) 评论(0) 推荐(0) 编辑

【LeetCode】223. Rectangle Area 解题小结

摘要: 题目: Find the total area covered by two rectilinear rectangles in a 2D plane. Each rectangle is defined by its bottom left corner and top right corner 阅读全文

posted @ 2016-09-11 09:18 医生工程师 阅读(162) 评论(0) 推荐(0) 编辑

【LeetCode】171. Excel Sheet Column Number 解题小结

摘要: 题目: Related to question Excel Sheet Column Title Given a column title as appear in an Excel sheet, return its corresponding column number. For example 阅读全文

posted @ 2016-09-11 08:51 医生工程师 阅读(191) 评论(0) 推荐(0) 编辑

【LeetCode】258. Add Digits 解题小结

摘要: 题目: Given a non-negative integer num, repeatedly add all its digits until the result has only one digit. For example: Given num = 38, the process is l 阅读全文

posted @ 2016-09-11 08:18 医生工程师 阅读(83) 评论(0) 推荐(0) 编辑

导航