摘要:
Given an array containing n distinct numbers taken from 0, 1, 2, ..., n, find the one that is missing from the array.For example,Given nums = [0, 1, 3... 阅读全文
摘要:
1、Properites 加载配置文件 web路径设置2、CommonUtils.uuid()3 、TxQueryRunner c3p0数据库连接池4、MailUtil (邮箱的smtp服务要打开 否则 fail connected)5、MessageFormat 完成对占位符的替换6、将表单数据封... 阅读全文
摘要:
UserService 1 // 激活功能更 2 public void activation(String code) throws UserException { 3 /* 4 * 1通过激活码查询用户 2如果用户为Null说明是无效激活码 抛出异常 给... 阅读全文
摘要:
Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists. 1 /** 2 ... 阅读全文
摘要:
Given a binary tree and a sum, find all root-to-leaf paths where each path's sum equals the given sum.For example:Given the below binary tree and sum ... 阅读全文