646. Maximum Length of Pair Chain 类似与最长子序列但是有简单做法 贪心方法
You are given n pairs of numbers. In every
pair, the first number is always smaller than the second number.
Now, we define a pair (c, d) can follow
another pair (a, b) if and only if b
. Chain
原创
2017-09-07 22:46:25 ·
239 阅读 ·
0 评论