上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 23 下一页
摘要: Given an unsorted array of integers, find the length of the longest consecutive elements sequence. For example,Given [100, 4, 200, 1, 3, 2],The longes... 阅读全文
posted @ 2015-09-17 16:17 尾巴草 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 图片来自百度1、发起请求到前端控制器 2、前端控制器请求handlerMapping查找handler 可以根据xml配置 注解进行查找3、处理器映射器handlerMapping向前端控制器返回handler4、前端控制器调用处理器适配器处理handler5、处理器适配器执行handler6、ha... 阅读全文
posted @ 2015-09-14 11:28 尾巴草 阅读(282) 评论(0) 推荐(0) 编辑
摘要: OrderServlet #createOrder 1 /* 2 * 3 * 生成订单 4 */ 5 public String createOrder(HttpServletRequest req, HttpServletResponse resp) 6 ... 阅读全文
posted @ 2015-09-10 10:26 尾巴草 阅读(206) 评论(0) 推荐(0) 编辑
摘要: OrderDao 1 public PageBean findByUser(String uid, int pc) throws SQLException { 2 List exprList = new ArrayList(); 3 exprList.add(n... 阅读全文
posted @ 2015-09-08 15:58 尾巴草 阅读(828) 评论(0) 推荐(0) 编辑
摘要: problem:Find the kth largest element in an unsorted array. Note that it is the kth largest element in the sorted order, not the kth distinct element.F... 阅读全文
posted @ 2015-09-08 14:43 尾巴草 阅读(118) 评论(0) 推荐(0) 编辑
摘要: Given a linked list, swap every two adjacent nodes and return its head. For example,Given 1->2->3->4, you should return the list as 2->1->4->3.Your al... 阅读全文
posted @ 2015-09-08 14:37 尾巴草 阅读(117) 评论(0) 推荐(0) 编辑
摘要: list.jsp 1 //给减号添加click事件 2 3 $(".jian") 4 .click( 5 function() { 6 //获取c... 阅读全文
posted @ 2015-09-07 16:31 尾巴草 阅读(670) 评论(0) 推荐(0) 编辑
摘要: Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent a number.An example is the root-to-leaf path 1->2->3 which... 阅读全文
posted @ 2015-09-06 19:51 尾巴草 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 1 阅读全文
posted @ 2015-09-06 15:14 尾巴草 阅读(238) 评论(0) 推荐(0) 编辑
摘要: CartItemDao 1 //查询某个用户的某本图书的购物车条目是否存在 2 public CartItem findByUidAndBid(String uid,String bid) throws SQLException 3 { 4 String sql="s... 阅读全文
posted @ 2015-09-06 12:06 尾巴草 阅读(391) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 23 下一页