Print numbers from 1 to the largest number with N digits by recursion. Notice It's pretty easy to do recursion like: recursion(i) { if i > largest num ...
分类:
其他好文 时间:
2016-07-16 06:51:53
阅读次数:
108
Given an array of strings, return all groups of strings that are anagrams. Notice All inputs will be in lower-case Given an array of strings, return a ...
分类:
其他好文 时间:
2016-07-16 06:42:09
阅读次数:
143
一.nginx错误日志nginx软件会把自身运行的故障信息及用户访问的日志信息记录到指定的日志文件里一般在nginx.conf配置文件第二行添加:error_loglogs/error.logerror;↓↓↓关键字日志文件日志级别其实如果不添加这行的话,默认就是这样关于日志级别:错误日志常见的级别有:de..
分类:
其他好文 时间:
2016-07-15 22:05:50
阅读次数:
261
Given a boolean 2D matrix, find the number of islands. Notice 0 is represented as the sea, 1 is represented as the island. If two 1 is adjacent, we co ...
分类:
其他好文 时间:
2016-07-15 13:40:36
阅读次数:
127
这样肯定是没有问题的,你可以贴出具体代码来看看。redirect:/XXX 这个XXX是你controler中某个方法的requestmapping,如下: 1 2 3 4 @RequestMapping("/notice") public String _notice() { return "co ...
分类:
编程语言 时间:
2016-07-15 13:19:29
阅读次数:
192
Next Permutation Given a list of integers, which denote a permutation. Find the next permutation in ascending order. Notice The list may contains dupl ...
分类:
其他好文 时间:
2016-07-15 13:03:17
阅读次数:
141
Determine the number of bits required to flip if you want to convert integer n to integer m. Notice Both n and m are 32-bit integers. Determine the nu ...
分类:
其他好文 时间:
2016-07-15 06:36:20
阅读次数:
218
Determine whether a Sudoku is valid. The Sudoku board could be partially filled, where empty cells are filled with the character .. Notice A valid Sud ...
分类:
其他好文 时间:
2016-07-13 13:58:46
阅读次数:
99
Given an unsorted array nums, reorder it in-place such that nums[0] <= nums[1] >= nums[2] <= nums[3].... Notice Please complete the problem in-place. ...
分类:
其他好文 时间:
2016-07-13 01:05:08
阅读次数:
178
Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases. Notice Have you consider that the string ...
分类:
其他好文 时间:
2016-07-10 23:15:57
阅读次数:
163