Given two non-negative numbers num1 and num2 represented as string, return the sum of num1 and num2. Note: 两个只含有数字的字符串相加。 解法: 对于每个字符转成对应的整数,然后相加,结果在写入 ...
分类:
其他好文 时间:
2018-03-26 10:55:43
阅读次数:
174
分析:service层里面有参与事物的方法没有按以上规则来命名,而以上配置文件规定了数据库操作函数必须要以上面的字符串开头,否则的话就按照默认的配置,对数据库访问的权限为read-only。 引用 https://www.cnblogs.com/jbml-154312/p/6867587.html# ...
分类:
数据库 时间:
2018-03-23 16:17:04
阅读次数:
234
常用字符串函数 base64decode(string str) : base64 解码.base64encode(string str) : base64 编码. fnv_hash(type v) : 对参数值做hash, 注意结果有正有负 trim(string a): 去除 leading 和 ...
分类:
其他好文 时间:
2018-03-21 11:32:20
阅读次数:
16728
var uri = new Uri("http://www.aa.com"); //often cookies are stored on domain level, so ".google.com", not "www.google.com" (leading dot is important) ... ...
分类:
Web程序 时间:
2018-03-14 15:04:12
阅读次数:
1163
题外话,很少在网上公开写东西,不是没有分享精神,只是害怕自己也是略懂会误导其他人,所以每次解决完问题都是在印象笔记上记录,只供自己方便查阅。上一次写还是2016年的事情,转眼已经到了2018年了,我也从iOS开发现在慢慢转成java开发,要学习的东西真的很多,幸好有一颗喜欢编程的心,要不然真的不知道 ...
分类:
其他好文 时间:
2018-03-09 18:02:28
阅读次数:
413
Given a non negative integer represented as a non empty array of digits, plus one to the integer. You may assume the integer do not contain any leadin ...
分类:
其他好文 时间:
2018-03-03 20:28:18
阅读次数:
158
题目描述 Bessie is leading the cows in an attempt to escape! To do this, the cows are sending secret binary messages to each other. Ever the clever counte ...
分类:
其他好文 时间:
2018-02-20 11:16:53
阅读次数:
172
You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contai... ...
分类:
其他好文 时间:
2018-02-12 23:42:23
阅读次数:
334
You are given a non-negative integer n, its decimal representation consists of at most 100 digits and doesn't contain leading zeroes. Your task is to ...
分类:
其他好文 时间:
2018-02-02 18:30:16
阅读次数:
195
什么是Docker? 在Docker之前,我们肯定要先了解Docker是什么。官网的介绍是“Docker is the world’s leading software container platform.”官方给Docker的定位是一个应用容器平台。至于为什么要做这个Docker,官网上还有这么 ...
分类:
其他好文 时间:
2018-01-27 18:52:52
阅读次数:
203