自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 LeetCode 473. Matchsticks to Square

原题网址:https://leetcode.com/problems/matchsticks-to-square/Remember the story of Little Match Girl? By now, you know exactly what matchsticks the little match girl has, please find out a way you c

2016-12-26 04:05:48 1466

原创 LeetCode 477. Total Hamming Distance

原题网址:https://leetcode.com/problems/total-hamming-distance/The Hamming distance between two integers is the number of positions at which the corresponding bits are different.Now your job is

2016-12-20 04:08:53 1027

原创 LeetCode 461. Hamming Distance

原题网址:https://leetcode.com/problems/hamming-distance/The Hamming distance between two integers is the number of positions at which the corresponding bits are different.Given two integers x 

2016-12-20 03:54:53 740

原创 LeetCode 434. Number of Segments in a String

原题网址:https://leetcode.com/problems/number-of-segments-in-a-string/Count the number of segments in a string, where a segment is defined to be a contiguous sequence of non-space characters.Ple

2016-12-20 03:42:35 613

原创 LeetCode 468. Validate IP Address

原题网址:https://leetcode.com/problems/validate-ip-address/方法:扫描检查,代码写得比较丑陋,暂时凑合着。public class Solution { private static final String NEITHER = "Neither"; private static final String IPV4 = "I

2016-12-15 06:07:59 703

原创 LeetCode 474. Ones and Zeroes

原题网址:https://leetcode.com/problems/ones-and-zeroes/In the computer world, use restricted resource you have to generate maximum benefit is what we always want to pursue.For now, suppose you a

2016-12-15 04:47:57 1494

原创 LeetCode 475. Heaters

原题网址:https://leetcode.com/problems/heaters/Winter is coming! Your first job during the contest is to design a standard heater with fixed warm radius to warm all the houses.Now, you are given

2016-12-12 04:00:28 2422

原创 467. Unique Substrings in Wraparound String

原题网址:https://leetcode.com/problems/unique-substrings-in-wraparound-string/Consider the string s to be the infinite wraparound string of "abcdefghijklmnopqrstuvwxyz", so s will look like this:

2016-12-06 05:32:55 659

原创 469. Convex Polygon

原题网址:https://leetcode.com/problems/convex-polygon/Given a list of points that form a polygon when joined sequentially, find if this polygon is convex (Convex polygon definition).Note:T

2016-12-05 03:36:00 1368

原创 446. Arithmetic Slices II - Subsequence

原题网址:https://leetcode.com/problems/arithmetic-slices-ii-subsequence/A sequence of numbers is called arithmetic if it consists of at least three elements and if the difference between any two con

2016-12-04 04:18:05 1289

原创 452. Minimum Number of Arrows to Burst Balloons

原题网址:https://leetcode.com/problems/minimum-number-of-arrows-to-burst-balloons/There are a number of spherical balloons spread in two-dimensional space. For each balloon, provided input is the st

2016-12-02 02:33:50 593

原创 454. 4Sum II

原题网址:https://leetcode.com/problems/4sum-ii/Given four lists A, B, C, D of integer values, compute how many tuples (i, j, k, l) there are such that A[i] + B[j] + C[k] + D[l] is zero.To make

2016-12-01 02:15:16 819

空空如也

空空如也

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

TA关注的人

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