原文链接: https://leetcode-cn.com/problems/minimum-cost-tree-from-leaf-values
英文原文Given an array arr of positive integers,
标签详情
单调栈 分类
原文链接: https://leetcode-cn.com/problems/number-of-visible-people-in-a-queue
英文原文There are n people standing in a queue,
原文链接: https://leetcode-cn.com/problems/final-prices-with-a-special-discount-in-a-shop
英文原文Given the array prices where
原文链接: https://leetcode-cn.com/problems/count-submatrices-with-all-ones
英文原文Given an m x n binary matrix mat, return th
原文链接: https://leetcode-cn.com/problems/minimum-number-of-increments-on-subarrays-to-form-a-target-array
英文原文Given an a
原文链接: https://leetcode-cn.com/problems/shortest-subarray-to-be-removed-to-make-array-sorted
英文原文Given an integer array
原文链接: https://leetcode-cn.com/problems/maximum-subarray-min-product
英文原文The min-product of an array is equal to the mi
原文链接: https://leetcode-cn.com/problems/the-number-of-weak-characters-in-the-game
英文原文You are playing a game that conta
原文链接: https://leetcode-cn.com/problems/smallest-k-length-subsequence-with-occurrences-of-a-letter
英文原文You are given a
原文链接: https://leetcode-cn.com/problems/sort-of-stacks-lcci
英文原文Write a program to sort a stack such that the smallest