-
### LeetCode Username
**[TrickyCat 🐱🚀](https://leetcode.com/TrickyCat/)**
### Problem Number, Title, and Link
[3192. Minimum Operations to Make Binary Array Elements Equal to One II](https:/…
-
VS Code has more powerful features and extensions, let's move on.
-
对于有一些题目,我们会给到一堆可以分成两个parts的元素。去解决这类问题,我们通常对第一个part的最大值和第二个部分的最小值感兴趣。Two Heaps这个pattern很适合解决这类问题。
我们可以建一个max heap去保存第一个part的最大值,一个min heap去保存第二个part的最小值。
这么说有点抽象,我们可以通过下面这道经典例题来理解这个pattern。
-
# 494. 目标和
## 入选理由
暂无
## 题目地址
[https://leetcode-cn.com/problems/target-sum/](https://leetcode-cn.com/problems/target-sum/)
## 前置知识
- 背包
- 数学
## 题目描述
给定一个非负…
-
Type: Bug
After recent update, not sure from when, the menus in menubar are all offset to the right. The more you zoomed out the more it offset. This is incredibly annoying since I can't interact wi…
-
### LeetCode Username
mustafalotfi
### Problem Number, Title, and Link
88. Merge sorted array, https://leetcode.com/problems/merge-sorted-array/description/?envType=study-plan-v2&envId=top-intervie…
-
# 821. 字符的最短距离
## 入选理由
暂无
## 题目地址
[https://leetcode-cn.com/problems/shortest-distance-to-a-character](https://leetcode-cn.com/problems/shortest-distance-to-a-character)
## 前置知识
…
-
### LeetCode Username
naga_adarsh_s
### Problem Number, Title, and Link
https://leetcode.com/problems/two-sum/
### Bug Category
Incorrect test case *(Output of test case is incorrect as per the p…
-
![image](https://github.com/user-attachments/assets/621e1da3-b719-4e99-8e85-8b8fd36bcf45)
I tried to upload the code to Github, but it's not working then I refresh my Leetcode and Github website and …
-
### 请在提交 bug 之前先搜索
- [X] 我已经搜索过 [issues](https://github.com/labuladong/fucking-algorithm/issues),没有发现相同的 bug。
### 出错的题目链接
https://leetcode.cn/problems/reverse-nodes-in-k-group/description/
### 报错…
Cupcc updated
2 months ago