自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

echo的作坊

智慧树上智慧果,智慧树下你和我

  • 博客(4)
  • 收藏
  • 关注

原创 [leetcode]151. Reverse Words in a String

Given an input string, reverse the string word by word.For example, Given s = "the sky is blue", return "blue is sky the".Update (2015-02-12): For C programmers: Try to solve it in-place in O(1) space.

2016-03-31 12:32:28 285

原创 [leetcode]1 Two Sum

Given an array of integers, return indices of the two numbers such that they add up to a specific target.You may assume that each input would have exactly one solution. Example: Given nums = [2,

2016-03-24 16:14:25 210

原创 腾讯面试准备

在一组数的编码中,若任意两个相邻的代码只有一位二进制数不同, 则称这种编码为格雷码(Gray Code),请编写一个函数,使用递归的方法生成N位的格雷码。 给定一个整数n,请返回n位的格雷码,顺序为从0开始。 测试样例: 1 返回:[“0”,”1”] import java.util.*;public class GrayCode { public String[] getGray(

2016-03-21 21:34:44 429

原创 git常用指令

在当前目录下,创建一个git仓库 git init 如果远端代码仓库已经存在代码,则可以直接将远端代码clone到本地 git clone url // url为远端代码仓库的地址,如果使用https协议的地址,需要手动输入用户名和密码 如果远端仓库没有代码,而本地有代码,则先将本地代码add到本地的git仓库,再讲远端代码仓库拉取到本地,然后提交到远端代码仓库 git add -A //参数-A表

2016-03-08 12:37:53 1036

空空如也

空空如也

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

TA关注的人

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