Remove the minimum number of invalid parentheses in order to make the input string valid. Return all possible results. Note: The input string may cont ...
分类:
其他好文 时间:
2018-09-21 23:01:25
阅读次数:
193
打印文件中的可打印字符串(print the strings of printable characters in files)。常用来在二进制文件中查找字符串,与grep配合使用。strings命令输出的字符串长度为4个或4个以上的,长度小于4的字符串将不予打印,我们可以通过-n参数调整,stri ...
分类:
其他好文 时间:
2018-09-21 00:37:05
阅读次数:
176
异常:'latin-1' codec can't encode characters in position 62-66: ordinal not in range(256) 用Python通过pymysql往MySQL数据库中插入数据时,插入的字段含有中文,出现异常: 'latin-1' code ...
分类:
数据库 时间:
2018-09-20 21:25:43
阅读次数:
192
https://www.youtube.com/watch?v=iqe1JSjyldo Your answer false Expected answer true class Solution { public boolean isValidSudoku(char[][] board) { // ... ...
分类:
其他好文 时间:
2018-09-20 18:49:54
阅读次数:
133
Remove the minimum number of invalid parentheses in order to make the input string valid. Return all possible results. Note: The input string may cont ...
分类:
其他好文 时间:
2018-09-18 12:35:46
阅读次数:
169
这个题只存储26个字母的,之前用的256个字符,所以可以直接用s[i]这种作为坐标,但现在只存储在26个中,坐标值是0到25,必须减去'a'才行,不减的话可能是100多的assic码 https://blog.csdn.net/fly_yr/article/details/49886391 ...
分类:
其他好文 时间:
2018-09-15 23:19:11
阅读次数:
175
题目描述: Given two binary strings, return their sum (also a binary string). The input strings are both non-empty and contains only characters 1 or 0. 题目来 ...
分类:
编程语言 时间:
2018-09-15 18:21:43
阅读次数:
213
题目: Given a non-empty string s, you may delete at most one character. Judge whether you can make it a palindrome. 给定非空字符串s,您最多可以删除一个字符。 判断你是否可以成为回文。 E ...
分类:
其他好文 时间:
2018-09-13 10:21:34
阅读次数:
143
Given a string s consists of upper/lower-case alphabets and empty space characters' ', return the length of last word in the string. If the last word ...
分类:
其他好文 时间:
2018-09-13 01:21:39
阅读次数:
162
Validate if a given string is numeric. Some examples:"0" => true" 0.1 " => true"abc" => false"1 a" => false"2e10" => true Note: It is intended for the ...
分类:
其他好文 时间:
2018-09-12 00:00:24
阅读次数:
335