摘要:
转载自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 ... 阅读全文
摘要:
题目描述: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... 阅读全文