leetcode 456. 132 Pattern题解
Given a sequence of n integers a1, a2, …, an, a 132 pattern is a subsequence ai, aj, ak such that i < j < k and ai < ak < aj. Design an algorithm that takes a list of n numbers as input and checks whet
转载
2017-01-21 23:17:53 ·
1590 阅读 ·
0 评论