04 2015 档案

摘要:最近在写一个OA系统,在资源的路径问题上面出现了一点问题,使用相对路径的话不利于文件的改动,所以使用了绝对路径来写。在jsp文件中 表示的是获取所部署的应用的名字;在EL表达式中 ${pageContext.request.contextPath}${pageContext.request.co... 阅读全文
posted @ 2015-04-19 14:14 小羊同学 阅读(278) 评论(0) 推荐(0)
摘要:Given a positive integer, return its corresponding column title as appear in an Excel sheet.For example: 1 -> A 2 -> B 3 -> C ... 26 ->... 阅读全文
posted @ 2015-04-13 23:32 小羊同学 阅读(236) 评论(0) 推荐(0)
摘要: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... 阅读全文
posted @ 2015-04-12 20:37 小羊同学 阅读(422) 评论(0) 推荐(0)
摘要:Given a non-negative number represented as an array of digits, plus one to the number.The digits are stored such that the most significant digit is at... 阅读全文
posted @ 2015-04-11 21:40 小羊同学 阅读(948) 评论(0) 推荐(0)
摘要:Given an array and a value, remove all instances of that value in place and return the new length.The order of elements can be changed. It doesn't mat... 阅读全文
posted @ 2015-04-10 20:26 小羊同学 阅读(391) 评论(0) 推荐(0)
摘要:最近想刷一下LeetCode练习一下数据结构算法之类的,先从水题开始吧题目是这样的Write a function that takes an unsigned integer and returns the number of ’1' bits it has (also known as theH... 阅读全文
posted @ 2015-04-10 11:42 小羊同学 阅读(245) 评论(0) 推荐(0)