LC 155. Min Stack 2025年1月1日 LeetCode LC 155. Min Stack https://leetcode.com/problems/min-stack/description/?envType=study-plan-v2&envId=top-interview-150 class MinStack { public: vector<pair<int, int>> st; MinStack() { } void
LC 71. Simplify Path 2025年1月1日 LeetCode LC 71. Simplify Path https://leetcode.com/problems/simplify-path/description/?envType=study-plan-v2&envId=top-interview-150 class Solution { public: string simplifyPath(string path) { int n = path.size(); vector<string&
LC 452. Minimum Number of Arrows to Burst Balloons 2025年1月1日 LeetCode Top Interview 150 LC 452. Minimum Number of Arrows to Burst Balloons https://leetcode.com/problems/minimum-number-of-arrows-to-burst-balloons/?envType=study-plan-v2&envId=top-interview-150 class Solution { public: static const bool cmp (vector<int> &a, vector<
LC 56. Merge Intervals 2025年1月1日 LeetCode Top Interview 150 LC 56. Merge Intervals https://leetcode.com/problems/merge-intervals/description/?envType=study-plan-v2&envId=top-interview-150 class Solution { public: vector<vector<int>> merge(vector<vector&
LC 228. Summary Ranges 2025年1月1日 LeetCode Top Interview 150 LC 228. Summary Ranges https://leetcode.com/problems/summary-ranges/description/?envType=study-plan-v2&envId=top-interview-150 class Solution { public: vector<string> summaryRanges(vector<int>& nums)