摘要: https://leetcode.com/problems/binary-string-with-substrings-representing-1-to-n/ Given a binary string S (a string consisting only of '0' and '1's) an 阅读全文
posted @ 2019-04-13 09:37 丧心病狂工科女 阅读(413) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/number-of-digit-one/ Given an integer n, count the total number of digit 1 appearing in all non-negative integers less t 阅读全文
posted @ 2019-04-13 09:16 丧心病狂工科女 阅读(122) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/sum-of-square-numbers/ Given a non-negative integer c, your task is to decide whether there're two integers a and b such 阅读全文
posted @ 2019-04-13 09:05 丧心病狂工科女 阅读(133) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/complement-of-base-10-integer/ Every non-negative integer N has a binary representation. For example, 5 can be represent 阅读全文
posted @ 2019-04-13 08:57 丧心病狂工科女 阅读(280) 评论(0) 推荐(0) 编辑