tr命令 NAME tr - translate or delete charactersSYNOPSIS tr [OPTION]... SET1 [SET2]DESCRIPTION Translate, squeeze, and/or delete characters from standard ...
分类:
系统相关 时间:
2019-01-30 01:27:56
阅读次数:
217
算法描述: Given an array of strings, group anagrams together. Example: Note: All inputs will be in lowercase. The order of your output does not matter. 解题 ...
分类:
其他好文 时间:
2019-01-29 20:47:18
阅读次数:
200
Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. An input string is valid if: No ...
分类:
其他好文 时间:
2019-01-29 12:47:14
阅读次数:
194
Determine if a 9x9 Sudoku board is valid. Only the filled cells need to be validated according to the following rules: The Sudoku board could be parti ...
分类:
其他好文 时间:
2019-01-29 10:50:07
阅读次数:
194
not a valid identifier不是有效的标识符 因为在/usr的“/”多加了一个空格,导致JAVA_Home 无法识别 ...
分类:
其他好文 时间:
2019-01-28 23:09:03
阅读次数:
240
完整的阿里云挂载数据盘方法如下: 1、入手阿里云后查看有几块硬盘:(只显示概况,不显示分区情况) >fdisk -l|grep Disk 2、查看硬盘分区 >fdisk -l 如果有提示:disk /dev/xvdb doesn t contain a valid partition table说明 ...
分类:
系统相关 时间:
2019-01-28 16:05:21
阅读次数:
252
3. Longest Substring Without Repeating Characters 1)题目 2)思路 先写一个子函数,输入数组下标,母字符串,往后遍历,获得下标出最长子串长度。 遍历母字符串,调用子函数,获得每一位长度,放入数组里。 获取数组最大值。 3) 代码 public in ...
分类:
其他好文 时间:
2019-01-28 00:58:44
阅读次数:
200
Given a string, sort it in decreasing order based on the frequency of characters. Example 1: Example 2: Example 3: ...
分类:
其他好文 时间:
2019-01-27 14:37:38
阅读次数:
160
from表单是自带校验宫能的 可以省区我们很多麻烦 现在我们来看下他的用法 如上 form_obj.is_valid () 是django为我们提供用于校验的方法 , 我们只需要把校验通过的直接做我们需要做的处理就好了 如果有用户输入的不符合规范 Django会帮我们把报错信息放在form_obj. ...
分类:
其他好文 时间:
2019-01-25 22:42:50
阅读次数:
176
算法描述: Implement atoi which converts a string to an integer. The function first discards as many whitespace characters as necessary until the first non ...
分类:
其他好文 时间:
2019-01-25 13:41:07
阅读次数:
119