1673. 找出最具竞争力的子序列
找出最具竞争力的子序列
- 难度:
medium - 原始链接: https://leetcode.cn/problems/find-the-most-competitive-subsequence
- 标签:
单调栈
解法一: 单调栈
1 | func mostCompetitive(nums []int, k int) []int { |
medium单调栈1 | func mostCompetitive(nums []int, k int) []int { |
Update your browser to view this website correctly.&npsb;Update my browser now