原创 ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [S

web項目部署到tomcat出現錯誤   ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component

原创 lintcode 斐波納契數列

public class Solution {     /*      * @param n: an integer      * @return:

原创 lintcode 刪除鏈表中的元素

/**  * Definition for singly-linked list.  * public class ListNode {  *  

原创 一次作死!!

ssm 傳值是不要integer和int混雜使用  。。會報錯

原创 lintcode 旋轉字符串

public class Solution {     /*      * @param str: An array of char      * @param offset: An integer  

原创 jstl配置 c.tld not found

使用jstl標籤報錯 JSTL異常:File "/WEB-INF/c.tld" not found 將web.xml中的 <taglib-uri>http://java.sun.com/jstl/core</taglib-uri>

原创 lintcode 平面列表

public class Solution {     // @param nestedList a list of NestedInteger     // @return a list of inte

原创 lintcode 搜索二維矩陣

public class Solution {     /*      * @param matrix: matrix, a list of lists of integers      * @param

原创 LeetCode 2.兩數相加

public static ListNode addTwoNumbers(ListNode l1, ListNode l2) { int j=0,temp=0,u; ListNode result=null,now=nu

原创 lintcode 合併排列數組 II

public class Solution {     /*      * @param A: sorted integer array A      * @param B: sorted integer

原创 lintcode 二分查找

class Solution {     /**      * @param nums: The integer array.      * @param target: Target to find.

原创 lintcode 二叉樹遍歷

/**  * Definition of TreeNode:  * public class TreeNode {  *     public int val;  *     public TreeNod

原创 lintcode fizz buzz問題

public class Solution {     /*      * @param n: An integer      * @return: A list of strings.      */

原创 lintcode 35. 翻轉鏈表

/** * Definition for ListNode. * public class ListNode { *     int val; *     ListNode next; *     ListNode(int val) { 

原创 lintcode 字符串查找

public class Solution {     /*      * @param source: source string to be scanned.      * @param target