首页
AI Coding
NEW
沸点
课程
直播
活动
AI刷题
APP
插件
搜索历史
清空
创作者中心
写文章
发沸点
写笔记
写代码
草稿箱
创作灵感
查看更多
会员
登录
注册
leetcode
我是王大你是谁
创建于2021-05-12
订阅专栏
python 解答 leetcode
等 30 人订阅
共750篇文章
创建于2021-05-12
订阅专栏
默认顺序
默认顺序
最早发布
最新发布
leetcode 2164. Sort Even and Odd Indices Independently(python)
这是 Weekly Contest 279 比赛的第一题,难度 Easy ,考察的是对数组的操作,很简单。
leetcode 2163. Minimum Difference in Sums After Removal of Elements (python)
这是 Biweekly Contest 71 比赛的第四题,难度 Hard ,考察的是对堆数据结构(或者优先队列)的使用。
leetcode 2162. Minimum Cost to Set Cooking Time(python)
这是 Biweekly Contest 71 比赛的第三题,难度 Medium ,考察的是对实际问题的理解能力,思路对了也不是很难,我比赛的时候也是仅仅止步于此,没有时间做第四题了。
leetcode 2161. Partition Array According to Given Pivot(python)
这是 Biweekly Contest 71 比赛的第二题,难度 Medium ,考察的是对题目的数组的重排序,也不难。
leetcode 2160. Minimum Sum of Four Digit Number After Splitting Digits(python)
这是 Biweekly Contest 71 比赛的第一题,难度 Easy ,考察的是对题目的数组的操作
leetcode 142. Linked List Cycle II(python)
leetcode 142. Linked List Cycle II(python)两种解法,第一种解法使用集合,第二种解法使用快慢指针
leetcode 389. Find the Difference(python)
leetcode 389. Find the Difference(python)第一种方法使用字典计数,第二种方法使用异或运算
leetcode 520. Detect Capital(python)
leetcode 520. Detect Capital(python)第一种方法使用内置函数解题,第二种方法自己写函数解题,很简单
leetcode 80. Remove Duplicates from Sorted Array II(python)
leetcode 80. Remove Duplicates from Sorted Array II(python)考察的是数组的遍历和赋值
leetcode 23. Merge k Sorted Lists(python)
leetcode 23. Merge k Sorted Lists(python)考察的是多个链表的拼接和排序
leetcode 421. Maximum XOR of Two Numbers in an Array(python)
虽然是 Medium ,但是我觉得是一道难度位 Hard 的题,而且思路比较新奇,考察的是二进制和 Trie 树
leetcode 454. 4Sum II(python)
leetcode 454. 4Sum II(python)很简单的一道题,使用暴力解法会超时,所以使用字典来优化时间复杂度
leetcode 211. Design Add and Search Words Data Structure(python)
第一种方法使用 python 内置正则模块 re 解题,第二种方法使用 Trie 和 DFS 递归进行解题
leetcode 189. Rotate Array (python)
leetcode 189. Rotate Array (python)使用三种方法解题,主要考察对数组的操作
leetcode 2151. Maximum Good People Based on Statements (python)
这是第 277 场周赛的第四题,难度 Hard ,对于我来说是真 Hard ,可能对于大佬来说就是个弟弟。考查的内容是 DFS 。
leetcode 2150. Find All Lonely Numbers in the Array(python)
这是第 277 场周赛的第三题,难度 Medium ,考察的是对列表的排序和一些基本操作,没啥好说的。
leetcode 2149. Rearrange Array Elements by Sign(python)
这是刚刚参加的第 277 场周赛的第二题,难度 Medium ,考察的是对双指针的灵活使用,同样不是很难。
leetcode 2148.Count Elements With Strictly Smaller and Greater Elements(python)
这是刚刚参加的第 277 场周赛的第一题,难度 Eazy ,考察的就是基本的排序,只要理清思路就基本上能做出来,第一题都做不出来那可真的是完犊子了。
leetcode 2147. Number of Ways to Divide a Long Corridor (python)
这是 Biweekly Contest 70 的第四题,难度 Hard ,考察的是对题目的理解能力,其实就是找规律,到此为止,第 70 场双周赛的四道题就都讲解完毕了。
leetcode 2146. K Highest Ranked Items Within a Price Range(python)
这是上周末刚参加的第 70 场双周赛的第三题,难度 Medium ,其实就考察 BFS ,只要理清思路就基本上能做出来。
下一页