- 博客(5)
- 收藏
- 关注
原创 Leetcode:343. Integer Break
题目描述: Given a positive integer n, break it into the sum of at least two positive integers and maximize the product of those integers. Return the maximum product you can get.For example, given n = 2, r
2016-04-26 16:35:36 261
原创 Leetcode:344. Reverse String
题目描述: Write a function that takes a string as input and returns the string reversed.Example: Given s = “hello”, return “olleh”.Subscribe to see which companies asked this question我的AC代码:public class
2016-04-26 15:43:58 277
原创 Leetcode:345. Reverse Vowels of a String
此题很简单,但是本宝宝的却把它做复杂了。后面有时间会改进的。import java.util.HashMap;import java.util.Iterator;import java.util.LinkedHashMap;public class Solution { public String reverseVowels(String s) { char[] a=s
2016-04-26 15:34:22 287
原创 java+stucts2后台分页
jsp部分代码:<div class="pagebar holder"> 第 <s:property value="currentPage" /> 页 共 <s:property value="page.getTotalPages()" /> 页 <s:if
2016-04-13 15:10:43 515
原创 html5上传图片限制大小
参考:http://www.linuxidc.com/Linux/2012-06/63635.htm html界面:type=“file”类型的<input type="file" placeholder="" class="m-wrap span6" name="thumb">jq:$('input[type=file]').each(fun
2016-04-06 21:48:49 9135
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人