Leetcode经典面试Java算法343整数拆分(动态规划)
Given an integer n, break it into the sum of k positive integers, where k >= 2, and maximize the product of those integers.
Spring 15: SM框架(Spring + MyBatis)事务处理
在上述业务实现类中手动添加:1/0 的程序异常。从控制台的输出可以看到,在出错前sql语句正常执行完毕,在出错后程序报错终止,此时不能确定新的账户信息有没有导入数据库。
Leetcode经典面试Java算法3字符串中最长不重复子字符串
Given a string s, find the length of the longest substring without repeating characters.
高效的序列化/反序列化数据方式 Protobuf
高效的序列化/反序列化数据方式 Protobuf一. protocol buffers 序列化上篇文章中其实已经讲过了 encode 的过程,这篇文章以 golang 为例,从代码实现的层面讲讲序列化和反序列化的过程。
Nginx配置http跳转https, php的支持
http跳转https首先要申请好ssl证书,可使用免费的或购买的证书,有想了解获取免费的ssl证书的请留言,找时间发布篇关于Let’s Encrypt的免费证书申请的文章。server { listen 80; server_name www.example.