题干: Given two non-negative integers num1 and num2 represented as strings, return the product of num1 and num2, also represented as a string. Example 1 ...
分类:
其他好文 时间:
2019-02-06 09:12:42
阅读次数:
182
A string is palindrome, if the string reads the same backward and forward. For example, strings like "a", "aa", "appa", "queryreuq" are all palindrome ...
分类:
其他好文 时间:
2019-02-05 18:08:05
阅读次数:
232
We are given an array A of N lowercase letter strings, all of the same length. Now, we may choose any set of deletion indices, and for each string, we ...
分类:
其他好文 时间:
2019-02-04 18:09:31
阅读次数:
202
Given two non-negative integers num1 and num2 represented as strings, return the product of num1 and num2, also represented as a string. Example 1: Ex ...
分类:
其他好文 时间:
2019-02-04 15:32:20
阅读次数:
158
基础题目第一题:需求实现随机验证码。随机生成十组六位字符组成的验证码。验证码由大小写字母、数字字符组成。代码实现,效果如图所示:开发提示:使用字符数组保存原始字符,利用Random类生成随机索引。参考答案:publicclassTest1{publicstaticvoidmain(String[]args){for(inti=0;i<10;i++){Strings=verifyCode();
分类:
其他好文 时间:
2019-02-03 23:50:24
阅读次数:
442
Strings="我爱你中国";OutputStreamWriterosw=newOutputStreamWriter(newFileOutputStream("ac1.txt"),"gbk");BufferedWriterbufferedWriter=newBufferedWriter(newOutputStreamWriter(newFileOutputStream("ac.txt"),"gb
分类:
编程语言 时间:
2019-02-03 23:40:59
阅读次数:
213
原文链接:https://blog.thinkeridea.com/201902/go/replcae_you_hua.html 标准库中函数大多数情况下更通用,性能并非最好的,还是不能过于迷信标准库,最近又有了新发现, 这个函数自身的效率已经很好了,但是在特定情况下效率并不是最好的,分享一下我如何 ...
分类:
其他好文 时间:
2019-02-03 14:00:11
阅读次数:
163
Given an array of strings, group anagrams together. Example: Note: All inputs will be in lowercase. The order of your output does not matter. class So ...
分类:
其他好文 时间:
2019-02-03 10:56:04
阅读次数:
147
Unicode编码;UTF-8编码;UTF-8与Unicode的转换;Go语言中的字符编码;for range遍历字符串;unicode包介绍:字数统计示例;原生string类型与strings.Builder类型;Builder扩容、重用;复制检查strings.copyCheck;并发冲突;strings.Reader类型
分类:
其他好文 时间:
2019-02-02 14:30:31
阅读次数:
147
1061 Dating (20 分) Sherlock Holmes received a note with some strange strings: Let's date! 3485djDkxh4hhGE 2984akDfkkkkggEdsb s&hgsfdk d&Hyscvnm. It to ...
分类:
其他好文 时间:
2019-01-31 16:45:35
阅读次数:
94