S and T are strings composed of lowercase letters. In S, no letter occurs more than once. S was sorted in some custom order previously. We want to per ...
分类:
其他好文 时间:
2018-02-26 21:51:53
阅读次数:
174
S and T are strings composed of lowercase letters. In S, no letter occurs more than once. S was sorted in some custom order previously. We want to per ...
分类:
其他好文 时间:
2018-02-26 20:41:33
阅读次数:
307
[抄题]: 以字符串的形式给定两个非负整数 num1 和 num2,返回 num1 和 num2 的乘积。 [暴力解法]: 时间分析: 空间分析: [思维问题]: [一句话思路]: [输入量]:空: 正常情况:特大:特小:程序里处理到的特殊情况:异常情况(不合法不合理的输入): [画图]: [一刷] ...
分类:
其他好文 时间:
2018-02-23 22:24:19
阅读次数:
107
Redis是in-memery的数据库,其优势不言而喻。详细可以阅读一下官网的介绍。https://redis.io 其主要有五种数据类型:strings,lists,sets,hashes。在学习到strings类型的常见命令的时候,对GETBIT和SETBIT的意义并不是非常了解,所以就搜索了一 ...
分类:
其他好文 时间:
2018-02-23 22:24:13
阅读次数:
144
[抄题]: 以字符串的形式给出两个非负整数 num1 和 num2,返回 num1和 num2 的和。 比如一个50位+一个100位。 给定 num1 = "123",num2 = "45" 返回 "168" [暴力解法]: 时间分析: 空间分析: [思维问题]: [一句话思路]: [输入量]:空: ...
分类:
其他好文 时间:
2018-02-23 13:28:36
阅读次数:
101
排序操作主要都在sort包中,导入就可以使用了import("sort") 常用的操作 sort.Ints:对整数进行排序sort.Strings:对字符串进行排序sort.Float64s:对浮点数进行排序 使用例子: 同样还有以下几个常用的查找操作 sort.SearchInts(a[]int, ...
分类:
编程语言 时间:
2018-02-19 19:39:03
阅读次数:
167
CopyFileProgressBar(pwidechar(ListBox1.Items.Strings[I]),pwidechar(NewDir+'\'+ExtractFileName(ListBox1.Items.Strings[I]))); procedure CopyFileProgress... ...
题目: Given two strings s1, s2, find the lowest ASCII sum of deleted characters to make two strings equal. Example 1: Example 2: Note: 0 < s1.length, s2 ...
分类:
其他好文 时间:
2018-02-15 14:16:38
阅读次数:
142
Text Symbols and Special Characters Reference Unicode strings and control codes Name Control Codes Unicode Strings Degree (°) %%d U+00B0 Plus/Minus To ...
分类:
其他好文 时间:
2018-02-15 11:06:48
阅读次数:
168
You are given two strings a and b. You have to remove the minimum possible number of consecutive (standing one after another) characters from string b ...
分类:
其他好文 时间:
2018-02-14 17:05:34
阅读次数:
165