自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(19)
  • 资源 (2)
  • 收藏
  • 关注

原创 Linux FTP 传输 invalid compressed data--format violated

首先登陆FTPftp> binary // 设置传输方式为二进制ftp> getASCII 为默认传输方式,按照默认传输方式传输的.gz文件在加压时回报 invalid compressed data--format violated。需要通过binary命令切换为二进制传输。...

2020-11-02 18:50:36 471

原创 【LeetCode】17. Letter Combinations of a Phone Number

一、原题Given a string containing digits from2-9inclusive, return all possible letter combinations that the number could represent.A mapping of digit to letters (just like on the telephone buttons) ...

2019-06-26 23:03:35 102

原创 【LeetCode】3Sum

一、原题Given an arraynumsofnintegers, are there elementsa,b,cinnumssuch thata+b+c= 0? Find all unique triplets in the array which gives the sum of zero.Note:The solution set must no...

2019-06-26 21:16:21 101

原创 Tomcat 启动卡在100%

环境: Tomcat 7 , Eclipse Luna 4.4Maven web项目现象:启动时卡在100%,preparing launch delegate...原因及解决:开了代理,关闭代理后问题解决。

2018-08-20 15:23:27 924 1

原创 【Leetcode】Find Peak Element

一原题Find Peak ElementA peak element is an element that is greater than its neighbors.Given an input array where num[i] ≠ num[i+1], find a peak element and return its index.The array m

2014-12-23 15:49:22 1039

原创 【Leetcode】Linked List Cycle

一、原题Linked List Cycle Given a linked list, determine if it has a cycle in it.Follow up:Can you solve it without using extra space?二、分析选用两个指针扫描链表,一个速度快,一个速度慢,若两个指针相遇,说明有环。三、

2014-12-18 19:17:45 801

原创 【Leetcode】Reorder List

一、原题Reorder ListGiven a singly linked list L: L0→L1→…→Ln-1→Ln,reorder it to: L0→Ln→L1→Ln-1→L2→Ln-2→…You must do this in-place without altering the nodes' values.For example,Given

2014-12-17 20:10:58 438

原创 【Leetcode】Intersection of Two Linked Lists

一原题Intersection of Two Linked Lists Write a program to find the node at which the intersection of two singly linked lists begins.For example, the following two linked lists:A:

2014-12-16 21:24:33 514

原创 【Leetcode】Binary Tree Preorder Traversal

一、原题Binary Tree Preorder TraversalGiven a binary tree, return the preorder traversal of its nodes' values.For example:Given binary tree {1,#,2,3}, 1 \ 2 / 3

2014-12-16 21:17:18 430

原创 【Leetcode】Sort List解答

一、原题Sort List Sort a linked list in O(n log n) time using constant space complexity.二、分析快速排序和归并排序的时间复杂度是O(nlogn)。如果使用归并排序,在使用链表的情况下,不需要重新申请空间存放排序后的数组,可以做到空间复杂度数O(1)。我在这里使用归并排序来排序链表

2014-12-03 19:54:41 745

原创 【Leetcode】Evaluate Reverse Polish Notation答案

一、原题Evaluate Reverse Polish NotationEvaluate the value of an arithmetic expression in Reverse Polish Notation.Valid operators are +, -, *, /. Each operand may be an integer

2014-11-29 11:18:43 757

原创 【leetcode】Find Minimum in Rotated Sorted Array 解答

一、原题:二、分析:三、代码:

2014-11-23 17:01:43 432

原创 【Leetcode 题解】Min Stack

一、原题:Design a stack that supports push, pop, top, and retrieving the minimum element in constant time.push(x) -- Push element x onto stack.pop() -- Removes the element on top of the stack.to

2014-11-20 16:26:57 670

原创 opencl初步

使用opencl计算矩阵的乘法,是《opencl编程指南》上的一个例子,

2014-06-05 18:52:55 598

原创 错误日志spring项目运行时出错

错误一:java.lang.OutOfMemoryError: PermGen space。tomcat启动时出错。减少部署在tomcat上的项目使问题暂时得到解决。由于时间有限,过段时间在研究根本解决办法。错误二:java.lang.NoSuchMethodError: antlr.collections.AST.getLine()I登陆时报错,没有解决办法。

2013-12-07 20:56:47 642

原创 错误日志 oracle 11g与hibernate

注意事项:1 oracle 11g 的jdbc驱动不要使用classes12.jar,改用ojdbc6.jar。2 方言Dialect设置:              org.hibernate.dialect.Oracle10gDialect

2013-12-05 22:33:13 737

原创 错误日志 整合hibernate出错

整合前:struts实验一正确。整合改动:1、添加log4j.properties;2、(1)修改LoginAction.java代码,代码修改多数与实验指导书相同,不同处如下:           添加了   private String ifadmin;                          private String id;           

2013-12-02 19:12:33 571

原创 错误日志struts2 http 404 not found可能原因之一

struts.properties文件错误,可能是导致404出现的原因之一。        今天的项目在座的时候使用了之前兵哥做好的ssh项目的struts.properties文件,导致404的情况一直出现。之后将其替换为实验指导书中的内容,404的问题就解决了。原因:不清,还未仔细阅读struts.properties文件的详细内容。

2013-12-02 13:50:44 1225

原创 错误日志No result defined for action com.action.LoginAction and result success.

错误提示:No result defined for action com.action.LoginAction and result success源代码:denglu">                                    红色部分原本是login,将jsp中与strut.xml中“login”改为denglu后,程序可运行。原因:http

2013-12-02 13:41:20 3254

OpenCl编程初步

OpenCl编程初识,ppt,帮助初次接触OpenCL的同学快速入门

2014-04-15

IEEE_802.15.4_2006

IEEE_802.15.4_2006 zigbee协议 定义了mac层

2013-04-17

空空如也

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

TA关注的人

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