#tr 转换和删除字符 支持标准输入 ##格式 tr [OPTION]...SET1[SET2] Translate, squeeze, and/or delete characters from standard input,writing to standard output. ##选项 -c, ...
分类:
其他好文 时间:
2020-06-21 16:25:54
阅读次数:
74
Valid Parentheses (E) 题目 Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. An inp ...
分类:
其他好文 时间:
2020-06-21 09:35:16
阅读次数:
33
Constructs a cookie with a specified name and value.The name must conform to RFC 2109. That means it can contain only ASCII alphanumeric characters an ...
分类:
其他好文 时间:
2020-06-19 19:15:22
阅读次数:
75
Given any string of N (≥) characters, you are asked to form the characters into the shape of U. For example, helloworld can be printed as: h d e l l r ...
分类:
其他好文 时间:
2020-06-15 15:34:10
阅读次数:
61
题目: You are given a string s consisting only of characters 0 and 1. A substring [l,?r] of s is a string sl,sl?+?1,sl?+?2... sr, and its length equals ...
分类:
其他好文 时间:
2020-06-14 16:38:35
阅读次数:
51
管线命令 1、截取指令 1.1 cut # cut指的就是切块, 常用的有三个指令 # -d : 后面接分割字符 # -f : 根据-d的分隔符,将一句话分成数段,用 -f取出第几段 # -c : 以字符(characters)的单位取出固定字符区间 [dai@workPC ~]$ echo $PA ...
分类:
其他好文 时间:
2020-06-07 15:10:24
阅读次数:
83
What is the difference between sed and awk sed is a stream editor. It works with streams of characters on a per-line basis. It has a primitive program ...
分类:
其他好文 时间:
2020-05-24 11:34:00
阅读次数:
81
Given a string, sort it in decreasing order based on the frequency of characters. Example 1: Input: "tree" Output: "eert" Explanation: 'e' appears twi ...
分类:
其他好文 时间:
2020-05-23 00:36:39
阅读次数:
45
Given any string of N (≥) characters, you are asked to form the characters into the shape of U. For example, helloworld can be printed as: h d e l l r ...
分类:
其他好文 时间:
2020-05-17 01:18:46
阅读次数:
53
leetcode 3.[无重复字符的最长子串] [无重复字符的最长子串]: https://leetcode cn.com/problems/longest substring without repeating characters/ leetcode 14.[最长公共前缀] [最长公共前缀]: ...
分类:
其他好文 时间:
2020-05-10 19:02:55
阅读次数:
55