題目 : 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 ...
分类:
编程语言 时间:
2019-02-23 01:01:37
阅读次数:
171
题目描述: Given two strings s and t , write a function to determine if t is an anagram of s. Example 1: Input:s = "anagram", t = "nagaram" Output: true Ex ...
分类:
其他好文 时间:
2019-02-22 21:08:03
阅读次数:
159
193. Valid Phone Numbers 193. Valid Phone Numbers Given a text file file.txt that contains list of phone numbers (one per line), write a one liner bas ...
分类:
其他好文 时间:
2019-02-22 01:07:44
阅读次数:
213
描述:Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. ...
分类:
其他好文 时间:
2019-02-19 12:02:48
阅读次数:
153
Valid BFS? CodeForces - 1037D The BFS algorithm is defined as follows. Consider an undirected graph with vertices numbered from 11 to nn. Initialize q ...
分类:
其他好文 时间:
2019-02-17 23:31:22
阅读次数:
158
题目: Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letter ...
分类:
其他好文 时间:
2019-02-16 19:25:38
阅读次数:
173
安装centos7后发现不能上网, 将ONBOOT=no改为ONBOOT=yes 然后重启网络服务 再次测试 就可以ping通了! 参考: https://www.cnblogs.com/linnuo/p/6257204.html ...
分类:
Web程序 时间:
2019-02-16 15:11:03
阅读次数:
196
20. Valid Parentheses Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. An input ...
分类:
Web程序 时间:
2019-02-16 13:42:21
阅读次数:
237
在 linux服务器上运行代码报错: Python3中遇到UnicodeEncodeError: ‘ascii’ codec can’t encode characters in ordinal not in range(128) 但是在windows上面运行代码正常。 原因是因为:linux系统语 ...
分类:
编程语言 时间:
2019-02-15 15:48:19
阅读次数:
697
代码质量实战Any fool can write code that a computer can understand. Good programmerswrite code that humans can understand. -- Martin FowlerThe only valid me ...
分类:
编程语言 时间:
2019-02-15 15:46:00
阅读次数:
189