摘要: Given two sequences pushed and popped with distinct values, return true if and only if this could have been the result of a sequence of push and pop o 阅读全文
posted @ 2021-02-28 08:28 CNoodle 阅读(122) 评论(0) 推荐(0)
摘要: An array is monotonic if it is either monotone increasing or monotone decreasing. An array A is monotone increasing if for all i <= j, A[i] <= A[j]. A 阅读全文
posted @ 2021-02-28 07:29 CNoodle 阅读(102) 评论(0) 推荐(0)