https://leetcode.com/problems/binary-search-tree-iterator/#/description Implement an iterator over a binary search tree (BST). Your iterator will be i ...
分类:
其他好文 时间:
2017-07-07 23:31:59
阅读次数:
208
https://leetcode.com/problems/flatten-nested-list-iterator/#/description Given a nested list of integers, implement an iterator to flatten it. Each el ...
分类:
其他好文 时间:
2017-07-07 22:36:54
阅读次数:
152
报错信息 17/07/06 17:00:27 WARN mapred.JobClient: Use GenericOptionsParser for parsing the arguments. Applications should implement Tool for the same.17/0 ...
分类:
编程语言 时间:
2017-07-06 18:40:28
阅读次数:
252
Implement the following operations of a queue using stacks. push(x) -- Push element x to the back of queue. pop() -- Removes the element from in front ...
分类:
其他好文 时间:
2017-07-06 15:51:32
阅读次数:
117
http://www.infoq.com/cn/articles/basis-frameworkto-implement-micro-service/ http://www.oschina.net/project/tag/461/microservice http://blog.csdn.net/z ...
分类:
其他好文 时间:
2017-07-05 19:54:36
阅读次数:
155
题目链接:https://leetcode.com/problems/implement-queue-using-stacks/ 题目:Implement the following operations of a queue using stacks. push(x) -- Push elemen ...
分类:
其他好文 时间:
2017-07-04 13:19:35
阅读次数:
170
在axis2 升级过程中遇到 The ServiceClass object does not implement the required method in the following form: OMElement sayHelloNew(OMElement e)错误,原因是高版本需要对方法定 ...
分类:
其他好文 时间:
2017-07-04 11:04:25
阅读次数:
146
https://leetcode.com/submissions/detail/108134096/ brute force ...
分类:
其他好文 时间:
2017-07-03 12:18:26
阅读次数:
117
我以为,当时我用c++写这个函数的时候,整个人如同乱麻。 这次用java写。先查的SE 8中String的方法。找到两个与此函数有关的方法:matches()和substring()。 测试的时候注意特殊情况 “a”与"" "aaa"与"a" ...
分类:
编程语言 时间:
2017-07-03 12:17:06
阅读次数:
137
Pow(x, n) Total Accepted: 25273 Total Submissions: 97470My Submissions Implement pow(x, n). 题意:求x的n次幂 思路:二分法 n有可能是负的或正的 当n为负是,pow(x, n) = 1/pow(x, -n) ...
分类:
其他好文 时间:
2017-07-03 10:06:30
阅读次数:
180