自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 HackerRank The Maximum Subarray

原题网址:https://www.hackerrank.com/challenges/maxsubarrayGiven an array  of  elements, find the maximum possible sum of aContiguous subarrayNon-contiguous (not necessarily contiguou

2016-07-22 06:56:23 865

原创 LeetCode 376. Wiggle Subsequence(摇摆子序列)

原题网址:https://leetcode.com/problems/wiggle-subsequence/A sequence of numbers is called a wiggle sequence if the differences between successive numbers strictly alternate between positive and nega

2016-07-22 06:18:49 1473

原创 LeetCode 371. Sum of Two Integers

原题网址:https://leetcode.com/problems/sum-of-two-integers/Calculate the sum of two integers a and b, but you are not allowed to use the operator + and -.Example:Given a = 1 and b = 2, return

2016-07-21 06:11:13 455

原创 LeetCode 375. Guess Number Higher or Lower II

原题网址:https://leetcode.com/problems/guess-number-higher-or-lower-ii/We are playing the Guess Game. The game is as follows:I pick a number from 1 to n. You have to guess which number I picked.Ev

2016-07-17 03:37:35 2613

原创 LeetCode 372. Super Pow

原题网址:https://leetcode.com/problems/super-pow/Your task is to calculate ab mod 1337 where a is a positive integer and b is an extremely large positive integer given in the form of an array.Exam

2016-07-14 01:42:28 992

原创 LeetCode 373. Find K Pairs with Smallest Sums

原题网址:https://leetcode.com/problems/find-k-pairs-with-smallest-sums/You are given two integer arrays nums1 and nums2 sorted in ascending order and an integer k.Define a pair (u,v) which consists

2016-07-14 00:51:28 772

原创 LeetCode 374. Guess Number Higher or Lower

原题网址:https://leetcode.com/problems/guess-number-higher-or-lower/We are playing the Guess Game. The game is as follows:I pick a number from 1 to n. You have to guess which number I picked.Eve

2016-07-13 23:27:38 913

原创 HackRank Two Two

原题网址:https://www.hackerrank.com/challenges/two-twoProf. Twotwo as the name suggests is very fond powers of 2. Moreover he also has special affinity to number 800. He is known for carrying quirky e

2016-07-11 04:36:29 1057

空空如也

空空如也

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

TA关注的人

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