### 算法集中营

29 已关注
313篇博文
• #### POJ 刷题系列：1837. Balance

POJ 刷题系列：1837. Balance 传送门：1837. Balance 题意： 一个天枰上有C个钩子，把M个砝码挂在这些C个钩子上，问多少种平衡的挂法。 思路： 首先考虑单...

18小时前
7
• #### LWC 74: 793. Preimage Size of Factorial Zeroes Function

LWC 74: 793. Preimage Size of Factorial Zeroes Function 传送门：793. Preimage Size of Factorial Zeroes ...

2018-03-06 14:50
99
• #### LWC 74: 795. Number of Subarrays with Bounded Maximum

LWC 74: 795. Number of Subarrays with Bounded Maximum 传送门：795. Number of Subarrays with Bounded Max...

2018-03-06 14:02
89
• #### LWC 74: 792. Number of Matching Subsequences

LWC 74: 792. Number of Matching Subsequences 传送门：792. Number of Matching Subsequences Problem: ...

2018-03-06 10:33
225
• #### LWC 74: 794. Valid Tic-Tac-Toe State

LWC 74: 794. Valid Tic-Tac-Toe State 传送门：794. Valid Tic-Tac-Toe State Problem: A Tic-Tac-Toe b...

2018-03-05 21:58
168
• #### LWC 73: 790. Domino and Tromino Tiling

LWC 73: 790. Domino and Tromino Tiling 传送门：790. Domino and Tromino Tiling Problem: We have two...

2018-02-26 10:08
328
• #### LWC 73: 791. Custom Sort String

LWC 73: 791. Custom Sort String 传送门：791. Custom Sort String Problem: S and T are strings compo...

2018-02-26 09:38
170
• #### LWC 73: 789. Escape The Ghosts

LWC 73: 789. Escape The Ghosts 传送门：789. Escape The Ghosts Problem: You are playing a simplifie...

2018-02-26 09:01
127
• #### LWC 73: 788. Rotated Digits

LWC 73: 788. Rotated Digits 传送门：788. Rotated Digits Problem: X is a good number if after rotat...

2018-02-26 08:40
290
• #### LWC 72: 786. K-th Smallest Prime Fraction

LWC 72: 786. K-th Smallest Prime Fraction 传送门：786. K-th Smallest Prime Fraction Problem: A sor...

2018-02-18 18:46
334
• #### LWC 72: 787. Cheapest Flights Within K Stops

LWC 72: 787. Cheapest Flights Within K Stops 传送门：787. Cheapest Flights Within K Stops Problem: ...

2018-02-18 18:06
362
• #### LWC 72: 785. Is Graph Bipartite?

LWC 72: 785. Is Graph Bipartite? 传送门：785. Is Graph Bipartite? Problem: Given a graph, return t...

2018-02-18 15:21
215
• #### LWC 72: 784. Letter Case Permutation

LWC 72: 784. Letter Case Permutation 传送门：784. Letter Case Permutation Problem: Given a string ...

2018-02-18 13:53
677
• #### LWC 71: 780. Reaching Points

LWC 71: 780. Reaching Points 传送门：780. Reaching Points Problem: A move consists of taking a poi...

2018-02-11 18:05
169
• #### LWC 71: 781. Rabbits in Forest

LWC 71: 781. Rabbits in Forest 传送门：781. Rabbits in Forest Problem: In a forest, each rabbit ha...

2018-02-11 15:18
251
• #### LWC 71: 783. Minimum Distance Between BST Nodes

LWC 71: 783. Minimum Distance Between BST Nodes 传送门：783. Minimum Distance Between BST Nodes Proble...

2018-02-11 14:50
268
• #### POJ 刷题系列：3274. Gold Balanced Lineup

POJ 刷题系列：3274. Gold Balanced Lineup 传送门：3274. Gold Balanced Lineup 题意： 官方题解： Consider t...

2018-02-04 22:04
73
• #### LWC 70: 778. Swim in Rising Water

LWC 70: 778. Swim in Rising Water 传送门：778. Swim in Rising Water Problem: On an N x N grid, eac...

2018-02-04 19:28
316
• #### LWC 70: 777. Swap Adjacent in LR String

LWC 70: 777. Swap Adjacent in LR String 传送门：777. Swap Adjacent in LR String Problem: In a stri...

2018-02-04 18:54
332
• #### LWC 70: 776. Split BST

LWC 70: 776. Split BST 传送门：776. Split BST Problem: Given a Binary Search Tree (BST) with root ...

2018-02-04 18:01
268