自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(10)
  • 收藏
  • 关注

原创 打造好用的mac终端

oh-my-zsh + iterm2   1. 下载iterm2 MAC 自带的terminal功能稍微弱一点,因此我选择了iterm2,主要是看重了他的可分屏,高级功能   基本设置 启动hotkey window,这样在任何时候都可以唤出iterm2 Iterm -> Preference ->Keys ->hotkey   配色 使用了一款开源的配色...

2013-11-26 23:29:10 108

原创 Centos 上升级 gcc

Centos 上面升级 gcc   转载 http://www.cnblogs.com/peterpanzsy/archive/2013/04/10/3006838.html mark 一下

2013-07-17 08:33:50 70

REST简介

What is REST? REST的全称是Representational State Transfer 首先它是一种架构的风格,这种架构针对Network-based Application,这种架构风格可以给我们的webapplication起到一个指导的作用,而不是强制的。 架构的设计有两种思路,一种是空空的一张白纸,然后往里面添加组件,另外一种是一个完整架构,然后通过添加各种...

2013-05-28 22:33:47 114

原创 LeetCode Problem:求字符串的最长回文子串

Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique longest palindromic substring.   这个题目是一个很常见的面试题,有暴力穷...

2013-05-26 13:55:56 80

原创 no attached in java.library.path

公司最近切换到Vmware虚拟机下面工作,run junit test case 的时候突然报一个很奇怪的错误 java.lang.UnsatisfiedLinkError: no attach in java.library.path   查了一下,原因是没有将java加入到PATH环境变量   将%JAVA_HOME%\bin 加入到环境变量即可     ...

2013-05-23 16:23:12 587

LeetCode Problem:求字符串的最长子串,子串的字符各不相同

Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters for "abcabcbb" is "abc", which the length is 3. For...

2013-05-18 17:28:15 83

原创 LeetCode Problem:链表相加

You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return it as a lin...

2013-05-18 17:21:56 61

LeetCode Problem:两个有序数组的中位数

Median of Two Sorted Arrays There are two sorted arrays A and B of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity should be O(log (m+n)). 这个题目...

2013-05-17 00:39:14 170

LeetCode Problem:在一个数组中求满足和等于一定条件的两个数

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...

2013-05-14 23:44:06 126

LeetCode题目汇总

最近在做leetcode的题目,之后会把每个题目的程序发出来,以便做个记录,日后可以复习一下

2013-05-13 20:20:17 90

空空如也

空空如也

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

TA关注的人

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