自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 leetcode - 354 Russian Doll Envelopes

leetcode - 354 Russian Doll Envelopes解题思路原题链接https://leetcode.com/problems/russian-doll-envelopes/description/原题内容You have a number of envelopes with widths and heights given as a pair of integers (w,

2017-11-16 17:09:00 241

原创 Leetcode - 312 Burst Balloons

Leetcode - 312 Burst Balloons解题思路动态规划为了方便,做如下处理 nums = [1] + nums + [1]dp = [[0] * len(nums) for i in range(len(nums)) ]动态方案 dp[i][j]表示从nums[i:j+1]的最佳方案,注意这里的最佳是在指定nums[i-1]和nums[j+1]为临下的最佳 递推关系

2017-11-16 16:40:42 235

原创 Google APAC test 2015 Round B Problem D-Parentheses Order

源题地址:https://code.google.com/codejam/contest/4214486/dashboard#s=p3

2014-09-16 14:31:24 733

原创 Google APAC test 2015 Round B Problem C - Card Game

源题地址:https://code.google.com/codejam/contest/4214486/dashboard#s=p2题意:一个无序数组,

2014-09-16 13:07:30 876

原创 Google APAC test 2015 Round B Problem B - New Years Eve

源题链接:https://code.google.com/codejam/contest/4214486/dashboard#s=p1

2014-09-16 12:47:13 744

转载 Google APAC test 2015 Round B Problem A - Password Attacker

Problem A. Password AttackerPasswords are widely used in our lives: for ATMs, online forum logins, mobile device unlock and door access. Everyone cares about password security. However, attackers al

2014-09-16 12:40:08 653

空空如也

空空如也

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

TA关注的人

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