自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 收藏
  • 关注

原创 [leetcode][array]Merge Sorted Array

Given two sorted integer arrays A and B, merge B into A as one sorted array. Note: You may assume that A has enough space (size that is greater or equal to m + n) to hold additional elements from

2015-02-04 14:10:03 295

原创 [leetcode][array]remove dulplicates from sorted array

Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length. Do not allocate extra space for another array, you must do this in place wi

2015-02-01 15:01:34 356

原创 <s:iterator>循环嵌套list,内层list依赖外层属性

有两个list是嵌套关系,外层list的每个对象有某个属性,根据该属性值不同,内层list不同 如下例:外层list取自action中的categoryList数据,循环输出了name和yl1属性值。在每一个外层对象下又会循环内层list,要求是内层的supername属性值和外层的name属性值相等。然后输出内层的每一个对象的threadCount属性值。

2015-01-29 10:11:01 944

原创 ssh框架中,jsp与action之间互传数据

action与jsp之间传递数据的方法 一、jsp接受action中传来的数据 action调用service中业务函数产生一个数据,例如一个list,将这个list传给jsp进行显示(利用标签循环显示出来)。 ①首先action自动执行execute函数后跳转到某个jsp页面,需要在struts.xml中进行配置。执行完execute函数需要返回一个值,struts.xml根据这个返回值判

2015-01-29 09:52:30 5137

原创 【SqlServer】sa登录出现错误233,18456

sqlServer使用sa用户名登录报错233,18456

2015-01-14 15:24:41 765

原创 [leetcode]Single Number(异或运算、for循环、数组length、复杂度)

题目:Single Number 描述:Given an array of integers, every e

2014-10-21 16:22:06 387

原创 [leetcode]Maximum Depth of Binary Tree(二叉树最大深度、Depth-first search)

题目:Maximum Depth of Binary Tree

2014-10-21 16:18:48 485

原创 表单提交 小tip(textarea提示文字对齐、JS输入为空验证、java断点)

一、cancel取消按钮

2014-09-02 19:38:58 1302

原创 tips

css 1、div整体在页面中居中显示

2014-08-07 16:03:30 232

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除