码迷,mamicode.com
首页 >  
搜索关键字:should be repaired    ( 4956个结果
Swap Nodes in Pairs
题目: Given a linked list, swap every two adjacent nodes and return its head. For example, Given 1->2->3->4, you should return the list as 2->1->4->3. Your algorithm should use only constant...
分类:其他好文   时间:2015-01-29 17:37:16    阅读次数:111
leetcode.10------------Regular Expression Matching
Implement regular expression matching with support for '.' and '*'. '.' Matches any single character. '*' Matches zero or more of the preceding element. The matching should cover the entire input st...
分类:其他好文   时间:2015-01-29 14:39:45    阅读次数:107
goodarticle.4-----------------Regular Expression Matching
Implement regular expression matching with support for ‘.’ and ‘*’. ‘.’ Matches any single character. ‘*’ Matches zero or more of the preceding element. The matching should cover the...
分类:其他好文   时间:2015-01-29 12:43:39    阅读次数:167
Median of Two Sorted Arrays
There are two sorted arrays A and B of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity should be O(log (m+n)). 用二分的方法求合并数组的中值。用找第k大的值来求,不断去掉较小的一半,...
分类:其他好文   时间:2015-01-29 12:43:29    阅读次数:175
memcached java client
public class TestMemcached { public static void main(String[] args) { // memcached should be running on port 11211 but NOT on 11212 BasicConfigurator.configure(); String...
分类:编程语言   时间:2015-01-29 10:29:38    阅读次数:199
LeetCode Unique Binary Search Trees II
Givenn, generate all structurally uniqueBST's(binary search trees) that store values 1...n.For example,Givenn= 3, your program should return all 5 uni...
分类:其他好文   时间:2015-01-28 23:56:50    阅读次数:231
【机器学习快讯】20150128机器学习快讯
机器学习基础 [维基]《List of machine learning concepts》机器学习概念集锦,统观机器学习全局的好材料。要好好利用维基这个大宝库——尤其是人工整理的知识结构和体系,比细节更有价值!《FAQ: What machine learning book should I start with? ? Ben Mabey》 机器学习入门该看什么书?文章介绍了基本经典的...
分类:其他好文   时间:2015-01-28 16:03:24    阅读次数:194
LeetCode—Factorial Trailing Zeroes
Given an integer n, return the number of trailing zeroes in n!. Note: Your solution should be in logarithmic time complexity. 题目是非常简单的,计算一个数字递归相乘后末尾0的个数 在相乘出现2*5才有可能出现0,2一般是足够的,主要是5的个数,因为是阶乘,...
分类:其他好文   时间:2015-01-28 13:06:21    阅读次数:123
【转】class file has wrong version 50.0, should be 49.0错误
编译的时候,发生如下错误:class file has wrong version 50.0, should be 49.0究其原因:由于引入的第三方jar包的编译器版本与当前编译器版本不一致造成。这个类是在JDK1.6的环境下编译的,把他放在JDK1.5环境的服务器下发生以上错误,只要将这个类重新...
分类:其他好文   时间:2015-01-28 11:03:21    阅读次数:143
Android - This Handler class should be static or leaks might occur.
今天学习了使用 HTTP协议,从Android客户端往Tomcat服务器端以GET发送请求,途中无意中发现自己写的Handler类被Android提示:This Handler class should be static or leaks might occur. 往google上type,发.....
分类:移动开发   时间:2015-01-28 06:08:26    阅读次数:157
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!