1 2 3 4 5 ··· 26 下一页
摘要: import java.util.ArrayList;import java.util.Scanner;public class Fib { /** * @param args */ public static void main(String[] args) { // T... 阅读全文
posted @ 2015-10-20 14:05 ~每天进步一点点~ 阅读(929) 评论(0) 推荐(0) 编辑
摘要: public abstract class MyClass { public int constInt = 5; //add code here public void method() { }}Apublic abstract void method(int a);... 阅读全文
posted @ 2015-10-11 18:03 ~每天进步一点点~ 阅读(904) 评论(0) 推荐(0) 编辑
摘要: 面试遇到两次一下题:public class Main { public static void main(String args[]) { Thread t = new Thread() { public void run() { pong(); ... 阅读全文
posted @ 2015-10-11 16:35 ~每天进步一点点~ 阅读(4391) 评论(0) 推荐(0) 编辑
摘要: 转载:http://blog.csdn.net/lifuxiangcaohui/article/details/80636571.对查询进行优化,应尽量避免全表扫描,首先应考虑在 where 及 order by 涉及的列上建立索引。2.应尽量避免在 where 子句中对字段进行 null 值判断,... 阅读全文
posted @ 2015-09-23 14:47 ~每天进步一点点~ 阅读(113) 评论(0) 推荐(0) 编辑
摘要: Given two stringssandt, write a function to determine iftis an anagram ofs.For example,s= "anagram",t= "nagaram", return true.s= "rat",t= "car", retur... 阅读全文
posted @ 2015-08-09 00:11 ~每天进步一点点~ 阅读(158) 评论(0) 推荐(0) 编辑
摘要: Given a string of numbers and operators, return all possible results from computing all the different possible ways to group numbers and operators. Th... 阅读全文
posted @ 2015-08-09 00:00 ~每天进步一点点~ 阅读(200) 评论(0) 推荐(0) 编辑
摘要: Write an efficient algorithm that searches for a value in anmxnmatrix. This matrix has the following properties:Integers in each row are sorted in asc... 阅读全文
posted @ 2015-08-08 23:36 ~每天进步一点点~ 阅读(237) 评论(0) 推荐(0) 编辑
摘要: Given an arraynums, there is a sliding window of sizekwhich is moving from the very left of the array to the very right. You can only see theknumbers ... 阅读全文
posted @ 2015-08-08 20:51 ~每天进步一点点~ 阅读(197) 评论(0) 推荐(0) 编辑
摘要: Given an array ofnintegers wheren> 1,nums, return an arrayoutputsuch thatoutput[i]is equal to the product of all the elements ofnumsexceptnums[i].Solv... 阅读全文
posted @ 2015-08-08 20:13 ~每天进步一点点~ 阅读(132) 评论(0) 推荐(0) 编辑
摘要: Write a function to delete a node (except the tail) in a singly linked list, given only access to that node.Supposed the linked list is1 -> 2 -> 3 -> ... 阅读全文
posted @ 2015-08-08 19:48 ~每天进步一点点~ 阅读(105) 评论(0) 推荐(0) 编辑
1 2 3 4 5 ··· 26 下一页