摘要:
转载自http://blog.csdn.net/cjl5678/article/details/8948799段页式存储管理的概念。 阅读全文
摘要:
转载自:http://blog.csdn.net/lonelyroamer/article/details/7868820一、Java泛型的实现方法:类型擦除前面已经说了,Java的泛型是伪泛型。为什么说Java的泛型是伪泛型呢?因为,在编译期间,所有的泛型信息都会被擦除掉。正确理解泛型概念的首要前... 阅读全文
摘要:
1、“覆盖”私有方法public class PrivateOverride { private void f() { print("private f()"); } public static void main(String[] args) { PrivateOverride po =... 阅读全文
摘要:
转载自http://blog.csdn.net/orzlzro/article/details/7017435Java 不支持泛型数组。也就是说,List[] ls = new ArrayList[10];是不支持的,而List[] ls = new ArrayList[10]却可以。看到sun的一... 阅读全文
摘要:
题目描述:The count-and-say sequence is the sequence of integers beginning as follows:1, 11, 21, 1211, 111221, ...1 is read off as "one 1" or 11.11 is read... 阅读全文
摘要:
题目描述:Write a program to solve a Sudoku puzzle by filling the empty cells.Empty cells are indicated by the character '.'.You may assume that there will... 阅读全文
摘要:
题目描述:Determine if a Sudoku is valid, according to: Sudoku Puzzles - The Rules.The Sudoku board could be partially filled, where empty cells are filled... 阅读全文
摘要:
题目描述:Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted ... 阅读全文
摘要:
在《java编程思想》中,java中的 \\ 表示“我要插入一个正则表达式的反斜线,所以其后的字符具有特殊的意义。”如果想插入一个普通的反斜线,那么应该使用 \\\\。理解:我们使用的反斜杠,就是一个 \但是在java等编程语言中,我们需要使用转义:一个文艺反斜杠 \\ 表示一个普通反斜杠 \正则表... 阅读全文
摘要:
题目描述:Given a sorted array of integers, find the starting and ending position of a given target value.Your algorithm's runtime complexity must be in th... 阅读全文