自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(32)
  • 资源 (3)
  • 收藏
  • 关注

转载 Spring 源码编译 出错FAILURE: Build failed with an exception.

编译过程中出现如下错误 FAILURE: Build failed with an exception. * What went wrong:Execution failed for task ':referencePdf'.> Java heap space * Try:Run with --stacktrace o

2015-03-03 10:17:06 2515

原创 [leetcode] Symmetric Tree

Symmetric Tree Total Accepted: 43063 Total Submissions: 137255My SubmissionsQuestion Solution Given a binary tree, check whether it is a mirror of itself (ie, symmetric around it

2015-02-05 10:48:18 620

原创 [leetcode] Same Tree

Same Tree Total Accepted: 46766 Total Submissions: 111239My SubmissionsQuestion Solution Given two binary trees, write a function to check if they are equal or not.Two binary t

2015-02-05 10:46:57 659

原创 [leetcode] Remove Duplicates from Sorted List

Remove Duplicates from Sorted List Total Accepted: 44414 Total Submissions: 129168My SubmissionsQuestion Solution Given a sorted linked list, delete all duplicates such that each

2015-02-05 10:13:06 409

原创 [leetcode] Subsets

Subsets Total Accepted: 37337 Total Submissions: 132727My SubmissionsQuestion Solution Given a set of distinct integers, S, return all possible subsets.Note:Elements in a

2015-02-05 10:11:28 550

原创 [leetcode] Plus One

Plus One Total Accepted: 34829 Total Submissions: 111864My SubmissionsQuestion Solution Given a non-negative number represented as an array of digits, plus one to the number.Th

2015-02-05 10:08:57 940

原创 [leetcode] Add Binary

Add Binary Total Accepted: 31178 Total Submissions: 124110My SubmissionsQuestion Solution Given two binary strings, return their sum (also a binary string).For example,a = "1

2015-02-04 11:31:05 653

原创 [leetcode] Merge Two Sorted Lists

Merge Two Sorted Lists Total Accepted: 41990 Total Submissions: 126215My SubmissionsQuestion Solution Merge two sorted linked lists and return it as a new list. The new list shou

2015-02-04 11:28:54 424

原创 [leetcode] Length of Last Word

Length of Last Word Total Accepted: 32811 Total Submissions: 113876My SubmissionsQuestion Solution Given a string s consists of upper/lower-case alphabets and empty space charact

2015-02-01 14:24:41 576

原创 [leetcode] Jump Game

Jump Game Total Accepted: 32273 Total Submissions: 118742My SubmissionsQuestion Solution Given an array of non-negative integers, you are initially positioned at the first index

2015-02-01 14:22:50 804

原创 [leetcode] First Missing Positive

First Missing Positive Total Accepted: 27915 Total Submissions: 121776My SubmissionsQuestion Solution Given an unsorted integer array, find the first missing positive integer.F

2015-02-01 14:21:15 564

原创 [leetcode] Count and Say

Count and Say Total Accepted: 29451 Total Submissions: 114094My SubmissionsQuestion Solution The count-and-say sequence is the sequence of integers beginning as follows:1, 11,

2015-02-01 14:18:35 414

原创 [leetcode] Valid Sudoku

Valid Sudoku Total Accepted: 24879 Total Submissions: 91590My SubmissionsQuestion Solution Determine if a Sudoku is valid, according to: Sudoku Puzzles - The Rules.The Sudoku b

2015-02-01 14:14:38 470

原创 [leetcode] Implement strStr()

Implement strStr() Total Accepted: 35824 Total Submissions: 163928My SubmissionsQuestion Solution Implement strStr().Returns the index of the first occurrence of needle in hays

2015-01-29 18:58:07 417

原创 [leetcode] Remove Element

Remove Element Total Accepted: 40769 Total Submissions: 125507My SubmissionsQuestion Solution Given an array and a value, remove all instances of that value in place and return t

2015-01-29 18:56:00 396

原创 [leetcode] Remove Duplicates from Sorted Array

Remove Duplicates from Sorted Array Total Accepted: 43986 Total Submissions: 139040My SubmissionsQuestion Solution Given a sorted array, remove the duplicates in place such that

2015-01-29 18:54:28 366

原创 [leetcode] Swap Nodes in Pairs

Swap Nodes in Pairs Total Accepted: 35316 Total Submissions: 108528My SubmissionsQuestion Solution Given a linked list, swap every two adjacent nodes and return its head.For ex

2015-01-29 18:51:44 455

原创 [leetcode] Valid Parentheses

Valid Parentheses Total Accepted: 34774 Total Submissions: 127051My SubmissionsQuestion Solution Given a string containing just the characters '(', ')', '{', '}', '[' and ']',

2015-01-29 17:38:53 353

原创 [leetcode] Remove Nth Node From End of List

Remove Nth Node From End of List Total Accepted: 37015 Total Submissions: 130110My SubmissionsQuestion Solution Given a linked list, remove the nth node from the end of list and

2015-01-29 17:37:48 407

原创 [leetcode] Longest Common Prefix

Longest Common Prefix Total Accepted: 32695 Total Submissions: 123512My SubmissionsQuestion Solution Write a function to find the longest common prefix string amongst an array of

2015-01-29 17:34:40 452

原创 [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.package com.wyt.leetcodeOJ;import java.util.Ha

2015-01-29 17:29:09 301

原创 [leetcode] Integer to Roman

Integer to Roman Total Accepted: 23069 Total Submissions: 67298My SubmissionsQuestion Solution Given an integer, convert it to a roman numeral.Input is guaranteed to be within

2015-01-29 17:26:10 453

原创 [leetcode] Palindrome Number

Palindrome Number Total Accepted: 39132 Total Submissions: 134247My SubmissionsQuestion Solution Determine whether an integer is a palindrome. Do this without extra space.click

2015-01-29 17:19:42 357

原创 [leetcode] String to Integer (atoi)

String to Integer (atoi) Total Accepted: 32744 Total Submissions: 239438My SubmissionsQuestion Solution Implement atoi to convert a string to an integer.Hint: Carefully conside

2015-01-29 17:13:20 398

原创 [leetcode] Reverse Integer

Reverse Integer Total Accepted: 51832 Total Submissions: 168479My SubmissionsQuestion Solution Reverse digits of an integer.Example1: x = 123, return 321Example2: x = -123, r

2015-01-29 17:02:25 361

原创 [leetcode] ZigZag Conversion

The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font for better legibility)P A H NA P L S I

2015-01-29 16:45:49 403

原创 [leetcode] Two Sum

Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two numbers such that they add up to the target, whe

2015-01-29 16:42:10 468

原创 Maven整合Spring-MVC+IBatis

---------------------------------------------------------------------------------------------------------大神绕道-------------------------------------------------------------------------------------------

2014-12-06 13:41:44 2816 1

原创 python windows 安装

1、下载安装 Pythonpython-2.7.2.msi  http://www.python.org/download/如下载 Python 2.7.2,安装目录为 C:\Python272、添加环境变量path = C:\Python27此步骤可实现在命令行下,不用进入 Python 目录即可执行 python.exe3、下载 setuptools注意对应 Python 的版本,完...

2014-03-13 23:34:28 101

原创 Maven安装

1.安装JDK2.下载Maven http://maven.apache.org/download.cgi,推荐使用最新版本解压到你的安装路径3.配置环境变量:   添加M2_HOME=你的解压路径   添加PATH=$PATH:$M2_HOME/bin4.注销登陆,输入mvn -v查看是否完成安装5.安装m2e,注意不要使用IDE内嵌的MavenWindow-&g...

2013-10-13 20:18:24 103

原创 Spring模拟——BeanFactory

续上篇,在解决完配置文件的解析之后,写了一个简单addUser模块准备测试model代码:package com.l.model;public class User { private String name; private String password; public String getName() { return name; }...

2013-10-13 09:46:12 101

Spring解析配置文件模拟——jdom解析xml文件

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

2013-10-12 21:14:39 173

spring-mvc+iBatis:maven

Maven整合的spring-mvc3.x和iBatis3.x

2014-12-06

深入浅出ExtJS

这是一本学习JS必不可少的书籍,相信会给你带来帮助

2011-09-14

C++趣味算法100例

一些小算法,像杨辉三角等等,时候C++初学者

2010-12-01

空空如也

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

TA关注的人

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