leetcode 笔记 Linked List 2. Add Two Numbers You are given two non-empty linked lists representing two non-negative integers. The digits are stored in r ...
分类:
其他好文 时间:
2017-06-12 23:52:18
阅读次数:
276
题目: Given a non-negative integer n, count all numbers with unique digits, x, where 0 ≤ x < 10n. Example:Given n = 2, return 91. (The answer should be ...
分类:
其他好文 时间:
2017-06-11 11:27:04
阅读次数:
106
Problem The Latin alphabet contains 26 characters and telephones only have ten digits on the keypad. We would like to make it easier to write a messag ...
分类:
其他好文 时间:
2017-06-09 11:51:57
阅读次数:
224
https://leetcode.com/problems/reconstruct-original-digits-from-english/#/description ...
分类:
其他好文 时间:
2017-06-09 09:59:50
阅读次数:
152
http://codeforces.com/gym/100712/attachments 题意: 给出一串数字,每次选择连续的k个数字加上任意数(超过10就取余),最后要使得所有数字都相等,求最大的k。 思路: 开关翻转问题。 算法具体可以参考《挑战程序竞赛》常用技巧篇。 这道题目就是在枚举k的同时 ...
分类:
其他好文 时间:
2017-06-07 22:29:01
阅读次数:
256
题目: Given a string containing only digits, restore it by returning all possible valid IP address combinations. For example:Given "25525511135", return ...
分类:
其他好文 时间:
2017-06-05 11:34:32
阅读次数:
149
题目: A message containing letters from A-Z is being encoded to numbers using the following mapping: Given an encoded message containing digits, determi ...
分类:
其他好文 时间:
2017-06-05 10:18:36
阅读次数:
162
一声叹息。IBM。HP。Dell, Mirantis, Piston等。请问。你们还把你们的Openstack部署在Redhat中吗? http://blogs.wsj.com/digits/2014/05/19/red-hat-challenged-over-assertions-about-cl ...
分类:
系统相关 时间:
2017-06-04 18:39:01
阅读次数:
216
You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contai ...
分类:
编程语言 时间:
2017-06-04 00:20:15
阅读次数:
204
题目: A message containing letters from A-Z is being encoded to numbers using the following mapping: Given an encoded message containing digits, determi ...
分类:
编程语言 时间:
2017-05-29 10:00:08
阅读次数:
194