原创 python windows 安裝

1、下載安裝 Pythonpython-2.7.2.msi  http://www.python.org/download/如下載 Python 2.7.2,安裝目錄爲 C:\Python272、添加環境變量path = C:\Pyth

原创 [leetcode] Roman to Integer

Given a roman numeral, convert it to an integer. Input is guaranteed to be within the range from 1 to 3999.

原创 [leetcode] Two Sum

Given an array of integers, find two numbers such that they add up to a specific target number. The function twoSum s

原创 [leetcode] String to Integer (atoi)

String to Integer (atoi)  Total Accepted: 32744 Total Submissions: 239438My Submissions Question  Solution 

原创 [leetcode] Palindrome Number

Palindrome Number  Total Accepted: 39132 Total Submissions: 134247My Submissions Question  Solution  Determi

原创 [leetcode] ZigZag Conversion

The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to disp

原创 [leetcode] Integer to Roman

Integer to Roman  Total Accepted: 23069 Total Submissions: 67298My Submissions Question  Solution  Given an

原创 Spring模擬——BeanFactory

續上篇,在解決完配置文件的解析之後,寫了一個簡單addUser模塊準備測試 model代碼: package com.l.model; public class User { private String name; priv

原创 [leetcode] Reverse Integer

Reverse Integer  Total Accepted: 51832 Total Submissions: 168479My Submissions Question  Solution  Reverse dig

原创 Maven安裝

1.安裝JDK 2.下載Maven http://maven.apache.org/download.cgi,推薦使用最新版本解壓到你的安裝路徑 3.配置環境變量:    添加M2_HOME=你的解壓路徑    添加PATH=$PATH

原创 Spring解析配置文件模擬——jdom解析xml文件

1.將要解析的xml文件:   <?xml version="1.0" encoding="UTF-8"?> <HD> <disk name="A"> <capacity>100G</capacity> <direc

原创 Maven整合Spring-MVC+IBatis

---------------------------------------------------------------------------------------------------------大神繞道----------

原创 [leetcode] Symmetric Tree

Symmetric Tree  Total Accepted: 43063 Total Submissions: 137255My Submissions Question  Solution  Given a bina

原创 [leetcode] Add Binary

Add Binary  Total Accepted: 31178 Total Submissions: 124110My Submissions Question  Solution  Given two binary

原创 Spring 源碼編譯 出錯FAILURE: Build failed with an exception.

編譯過程中出現如下錯誤   FAILURE: Build failed with an exception.   * What went wrong: Execution failed for task ':referen