--- slug: leetcode-brush-up published: true description: >- 2023年1月10日,记录了在LeetCode上的刷题情况。首先完成了“两数之和”问题,随后解决了“删除有序数组中的重复项”,虽然使用的方法简单但性能较差。最后,解决了“移除元素”问题。每个问题都附有相关的提交链接和截图,以便记录和回顾。 finished: true date: '2024-07-11T02:17:53.454Z' rinId: 120 category: 编程-算法-记录 --- # Leetcode刷题 2023-01-10 [1. 两数之和 - 力扣(LeetCode)](https://leetcode.cn/problems/two-sum/submissions/394403223/) ![Pasted image 20230110221333](https://pictures.kazoottt.top/2024/04/20240407-6be91d5e22a1a06fec02a4a9248d3d86.png) [26. 删除有序数组中的重复项 - 力扣(LeetCode)](https://leetcode.cn/problems/remove-duplicates-from-sorted-array/submissions/394407635/) 使用的方法比较简单,性能比较差 ![Pasted image 20230110223122](https://pictures.kazoottt.top/2024/04/20240407-a3e052dfd382e8c4a9448b71e7475b2b.png) ![Pasted image 20230110223159](https://pictures.kazoottt.top/2024/04/20240407-b4bbb34661afc9aa9e77571975322307.png) [27. 移除元素 - 力扣(LeetCode)](https://leetcode.cn/problems/remove-element/submissions/394409513/) ![Pasted image 20230110223831](https://pictures.kazoottt.top/2024/04/20240407-d651106ffa705148f5ebcf3defdde9bc.png)