原创 android環境搭建問題

直接上問題 改了hosts文件了。是203.208.46.146 但是這回沒有用了。由於工作需要我新了一個eclipse luna版的。不知道是不是這個版本的問題。 然後選擇去下一個adt離線安裝包。但是安裝過程中又卡在了C

原创 leetcode 之Min Stack

Total Accepted: 15967Total Submissions:103378 Design a stack that supports push, pop, top, and retrieving the min

原创 算法之函數的增長

雖然有時我們能夠 確定一個算法的精確運行時間,但是通常並不值得花力氣來計算它以獲得多餘的精度,對於足夠大的輸入,精確運行時間中倍增常量 和低階項被輸入 規模本身的影響所支配。 漸近記號 用來描述算法漸近運行時間的記號根據 定義域爲

原创 Leetcode 之Find Peak Element

A peak element is an element that is greater than its neighbors. Given an input array where num[i] ≠ num[i+1], find a

原创 hibernate 深入理解持久化對象

hibernate 完全採用面向對象的方式來操作數據庫,因此開發者眼裏只有對象、屬性,無須理會數據庫、表、列等概念。 持久化類的要求 Hibernate 採用低侵入式設計,所以對持久化類的要求也是隻要是簡單的pojo即可。 雖然h

原创 leetcode 之Rotate Array

Rotate an array of n elements to the right by k steps. For example, with n = 7 and k = 3, the array [1,2,3,4,5,6,7]

原创 glassfish 平臺遷移到wildfly(jboss)

從glassfish換成了jboss eap版之後出現了幾個問題 Exception in thread “main” java.lang.NoSuchMethodError: javax.persistence.Table.i

原创 eclipse Gradle插件null see error log...

最近想看看github上的開源代碼去學習。有好多項目用的是gradle工具構建的。然後裝了一個gradle的eclipse插件 。 當我build model的時候 提示我null see error log。 然後我去把er

原创 leetcode 之Path Sum II

Given a binary tree and a sum, find all root-to-leaf paths where each path’s sum equals the given sum. For example:

原创 spring 安裝和使用

項目管理工具:maven denpendecy:spring-context <dependency> <groupId>org.springframework</groupId> <artifa

原创 hibernate 安裝和使用

原來最流行的web開發三大框架 ssh。現在新出現了ssm。m爲hibernate的替代者——mybatis。 如果是第一次使用數據持久化框架,推薦先使用hibernate,熟悉一些基本的原理,再使用mybatis更順手些。 my

原创 leetcode 之Excel Sheet Column Title

Total Accepted: 9173 Total Submissions: 52899 Given a positive integer, return its corresponding column title as a

原创 leetcode之 Repeated DNA Sequences

Total Accepted: 2932 Total Submissions: 16668 All DNA is composed of a series of nucleotides abbreviated as A, C, G

原创 struts2設置了excludePattern報could not found action or re.錯誤

相信如果找到我這裏的時候應該已經看到了那個分析struts.action.excludePattern工作流程的文章 那我再說一次 struts2 默認的攔截器是StrutsPrepareAndExecuteFilter 執行過濾

原创 leetcode之Excel Sheet Column Number

Excel Sheet Column Number Related to question Excel Sheet Column Title Given a column title as appear in an Excel s