1 package leetcode; 2 3 import java.util.ArrayList; 4 import java.util.List; 5 6 class TrieNode{ 7 Boolean isWord;//true if path till ...
分类:
其他好文 时间:
2015-03-30 08:03:13
阅读次数:
252
对话框分为:有模式与无模式,有模式将意味着阻塞其他线程的执行,表明操作的重要性1.消息对话框属于有模式对话框格式:public static void showMessageDialog(Component parentComponent,String message,String title,in...
分类:
其他好文 时间:
2015-03-30 08:03:10
阅读次数:
110
#include "stdio.h"
#include "string.h"
#include "malloc.h" #define MAX_LIST 50typedef struct _SqList {
int data[MAX_LIST];
int length;
}SqList;//The key difference between Fibonacci search and...
分类:
其他好文 时间:
2015-03-30 06:50:31
阅读次数:
139
public class Fabric extends Thread{ public static void main(String args[]){ Thread t = new Thread(new Fabric()); Thread t2 = new ...
分类:
其他好文 时间:
2015-03-30 01:08:43
阅读次数:
181
时隔几分钟又来写一个题,这个应该算个水题。public class Solution { public String convertToTitle(int n) { StringBuilder ans = new StringBuilder(); ...
分类:
其他好文 时间:
2015-03-29 23:30:18
阅读次数:
142
如果dos下执行java出现错误,把错误记录到一个文档正确时如图,输出结果为hello,我把String的s改为小写,出现错误,用2>命令输出到error.txt在当前目录就出现了error.txt文件
分类:
编程语言 时间:
2015-03-29 23:29:10
阅读次数:
181
string类的构造函数:string(const char *s); //用c字符串s初始化string(int n,char c); //用n个字符c初始化此外,string类还支持默认构造函数和复制构造函数,如string s1;string s2="hello";都是正确的写法...
分类:
其他好文 时间:
2015-03-29 23:21:05
阅读次数:
286
Hive动态分区1、首先创建一个分区表create table t10(name string) partitioned by(dt string,value string)row format delimited fields terminatedby '\t' lines terminated ...
分类:
其他好文 时间:
2015-03-29 22:09:09
阅读次数:
154
import java.util.*;import java.util.Random;public class SiZe { /** * @param args */ public static void main(String[] args) { ...
分类:
其他好文 时间:
2015-03-29 20:49:53
阅读次数:
129
Given two numbers represented as strings, return multiplication of the numbers as a string.
Note: The numbers can be arbitrarily large and are non-negative.
题目当中主要是需要两个大数的乘法,一般大数都是用字符串进行保存
代码比较...
分类:
其他好文 时间:
2015-03-29 19:35:52
阅读次数:
133