自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 LeetCode | Isomorphic Strings

题目Given two strings s and t, determine if they are isomorphic.Two strings are isomorphic if the characters in s can be replaced to get t.All occurrences of a character must be replac

2015-05-22 21:18:35 274

原创 LeetCode | Number of 1 Bits

题目Write a function that takes an unsigned integer and returns the number of ’1' bits it has (also known as the Hamming weight).For example, the 32-bit integer ’11' has binary representat

2015-05-21 16:40:44 278

原创 LeetCode | House Robber

题目You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stopping you from robbing each of them is that adjace

2015-05-21 14:19:56 252

原创 LeetCode | Happy Number

题目Write an algorithm to determine if a number is "happy".A happy number is a number defined by the following process: Starting with any positive integer, replace the number by the sum of t

2015-05-21 10:04:55 378

原创 LeetCode | Length of Last Word

题目Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the string.If the last word does not exist, return 0.Note: A

2015-05-21 09:04:26 174

原创 LeetCode | Count Primes

题目Description:Count the number of prime numbers less than a non-negative number, n分析和思路题目分为两个部分:1)素数的判断;2)找出所有小于n的素数。素数的判断比较容易,而n以内素数的筛选用到了Sieve of EratosthenesOK,代码如下:

2015-05-21 08:59:02 248

原创 LeetCode | Valid Palindrome

题目Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.For example,"A man, a plan, a canal: Panama" is a palindrome."race a car" i

2015-05-21 08:48:46 301

ViBe简易算法C++实现

由于ViBe算法并不开源,本版本的实现仅供学习和研究使用,不得用于任何商业用途。

2015-04-25

Android中类似微信的滑动界面

一份模仿微信界面的代码,有兴趣的可以参考下

2014-04-15

Android 图书阅读器 带模拟真实翻页效果

带有翻页效果的Android阅读器源码,同时业开发了亮度调节、加书签等功能,有兴趣的可以参考下

2014-04-13

空空如也

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

TA关注的人

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