- 博客(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 245
原创 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 238
原创 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 737
原创 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 881
原创 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 751
转载 Google APAC test 2015 Round B Problem A - Password Attacker
Problem A. Password Attacker Passwords 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 661
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人