/*******************************************************************//**Adds the node as the first element in a two-way linked list.@param NAME lis...
分类:
其他好文 时间:
2015-12-02 00:35:35
阅读次数:
185
1 /** 2 * 类的说明 3 * 4 * @author hasee作者 5 * 6 */ 7 public class hello { 8 /** 9 * 这是主方法,是程序的入口 10 * 11 * @param arg...
分类:
编程语言 时间:
2015-12-01 21:05:32
阅读次数:
188
Hibernate在检索数据上,可以使用SQL、HQL和官方API进行查询,本人主要利用API进行相关查询的小demo。话不多少直接上demo。demo1:基本查询 /** * 默认不加任何条件的时候是搜索全部。() * @param session */ pri...
public class Solution { /** * @param s: The first string * @param b: The second string * @return true or false */ public boolean...
分类:
其他好文 时间:
2015-12-01 14:39:54
阅读次数:
122
C++暴力搜索两个游标一个长度i遍历aj遍历blen遍历公共子串长度 1 class Solution { 2 public: 3 /** 4 * @param A, B: Two string. 5 * @return: the length of the lo...
分类:
其他好文 时间:
2015-12-01 14:28:03
阅读次数:
168
C++hash map把查找2个数的过程转换为查找1个数借用STL容器 unordered_map 1 class Solution { 2 public: 3 /* 4 * @param numbers : An array of Integer 5 * @param ...
分类:
其他好文 时间:
2015-12-01 12:45:14
阅读次数:
103
C++ 1 class Solution { 2 public: 3 /** 4 * param n: As description. 5 * return: A list of strings. 6 */ 7 vector fizzBuzz(int n...
分类:
其他好文 时间:
2015-12-01 12:35:16
阅读次数:
133
public class hello { /** * * * * * @param args */ public static void main(String[] args) { String _$...
分类:
其他好文 时间:
2015-12-01 00:07:13
阅读次数:
154
public class hello { /** * * * * * @param args */ public static void main(String[] args) { String _$...
分类:
其他好文 时间:
2015-11-30 18:00:04
阅读次数:
139
C++双向递推空间O(1)时间O(n) 1 class Solution { 2 public: 3 /** 4 * @param A an array of Integer 5 * @return an integer 6 */ 7 int long...
分类:
其他好文 时间:
2015-11-30 13:13:50
阅读次数:
135