1 DONE Min Cost Climbing Stairs
- State "DONE" from "TODO"
1 | func min(a, b int) int { |
2 DONE Climbing Stairs
- State "DONE" from "TODO"
1 | func climbStairs(n int) int { |
3 DONE House Robber
- State "DONE" from "TODO"
1 | func max(a, b int) int { |
4 DONE House Robber II
- State "DONE" from "TODO"
1 | func max(a, b int) int { |
5 DONE Range Sum Query - Immutable
- State "DONE" from "TODO"
1 | type NumArray struct { |
6 DONE Counting Bits
- State "DONE" from "TODO"
1 | func countBits(num int) []int { |
7 DONE Palindromic Substrings
- State "DONE" from "TODO"
1 | func countSubstrings(s string) int { |
8 DONE Minimum ASCII Delete Sum for Two Strings
- State "DONE" from "TODO"
1 | func min(a, b int) int { |
9 DONE Arithmetic Slices
- State "DONE" from "TODO"
1 | type ASStatus struct { |
1 | func numberOfArithmeticSlices(A []int) int { |
11 DONE Maximum Length of Pair Chain
- State "DONE" from "TODO"
1 | import "sort" |
12 DONE Integer Break
- State "DONE" from "TODO"
1 | func integerBreak(n int) int { |
13 DONE LCS
- State "DONE" from "TODO"
1 | func max(a, b int) int { |
"main no"body |
14 DONE Count Numbers with Unique Digits
- State "DONE" from "TODO"
1 | func countNumbersWithUniqueDigits(n int) int { |
15 DONE Longest Increasing Subsequence
- State "DONE" from "TODO"
1 | func max(a, b int) int { |
16 DONE Number of Longest Increasing Subsequence
- State "DONE" from "TODO"
1 | func max(a, b int) int { |
17 DONE Longest Palindromic Substring
- State "DONE" from "TODO"
1 | package main |
18 DONE Longest Palindromic Subsequence
- State "DONE" from "TODO"
1 | func reverse(s string) string { |
19 WAITING Predict the Winner
- State "WAITING" from "TODO"
minimax算法学习
1 | func max(a, b int) int { |
20 DONE Best Time to Buy and Sell Stock with Cooldown
- State "DONE" from "TODO"
1 | func max(a, b int) int { |
21 DONE Best Time to Buy and Sell Stock with Transaction Fee
- State "DONE" from "TODO"
1 | package main |
22 DONE Is Subsequence
- State "DONE" from "TODO"
1 | func isSubsequence(s string, t string) bool { |
23 WAITING Knapsack problem(背包问题)
- State "WAITING" from "TODO"
背包算法,需要好好研究
1 | package main |
1 | package main |
1 | package main |
24 DONE Maximum Length of Repeated Subarray
- State "DONE" from "TODO"
1 | func findLength(A []int, B []int) int { |
25 DONE Coin Change
- State "DONE" from "TODO"
1 | func coinChange(coins []int, amount int) int { |
26 DONE 2 Keys Keyboard
- State "DONE" from "TODO"
1 | func minSteps(n int) int { |
27 DONE Shopping Offers
- State "DONE" from "TODO"
1 | func shoppingOffers(price []int, special [][]int, needs []int) int { |
Render by hexo-renderer-org with Emacs 25.3.2 (Org mode 8.2.10)