首页
AI Coding
NEW
沸点
课程
直播
活动
AI刷题
APP
插件
搜索历史
清空
创作者中心
写文章
发沸点
写笔记
写代码
草稿箱
创作灵感
查看更多
会员
登录
注册
leetcode
我是王大你是谁
创建于2021-05-12
订阅专栏
python 解答 leetcode
等 30 人订阅
共750篇文章
创建于2021-05-12
订阅专栏
默认顺序
默认顺序
最早发布
最新发布
leetcode 2145. Count the Hidden Sequences(python)
这是第 70 场双周赛的第二题,难度 Medium ,其实就是找规律题,感觉没什么考察的点,冷静分析还是很简单的。
leetcode 2144. Minimum Cost of Buying Candies With Discount(python)
这是上周六晚上第 70 场双周赛的第一题,难度 Easy ,感觉考察的是贪心和数组排序,题目比较简单。
leetcode 875. Koko Eating Bananas (python)
leetcode 875. Koko Eating Bananas (python)主要考察的是二分搜值法
leetcode 1510. Stone Game IV (python)
leetcode 1510. Stone Game IV (python)很经典的题目,第一种方法使用记忆化的 DFS,第二种方法使用动态规划
leetcode 134. Gas Station(python)
leetcode 134. Gas Station(python)暴力解法会超时,需要找出关键的规律使用 O(n) 的算法来解题
leetcode 2141. Maximum Running Time of N Computers(python)
本文介绍的是 276 周赛第四道题目,难度 Hard ,我比赛时还没看到这个题目,卡到第三个上面了,这个题纯考查对题目理解,如果理解到位代码很简单,理解不到位代码又臭又长还不一定过。
leetcode 2140. Solving Questions With Brainpower(python)
本文介绍的是周赛第三道题目,难度 Medium ,耗时一个小时,感觉也不是很难,考察的是动态规划,但是我用递归解题超时了,最后也没优化出来。
leetcode 2139. Minimum Moves to Reach Target Score(python)
本文介绍的是 276 周赛第二道题目,难度 Medium ,也不是很难,考察的是贪心,可以用递归也可以用常规的代码思路。
leetcode 2138. Divide a String Into Groups of Size k (python)
本文介绍的是 276 周赛第一道题目,难度 Easy ,基本是个送分题目,考察基本的字符串拼接内容。
leetcode 290. Word Pattern(python)
leetcode 290. Word Pattern(python)使用字典解题即可,但是要注意“双映射”定义,被干死在这个条件下的人大有人在
leetcode 849. Maximize Distance to Closest Person (python)
leetcode 849. Maximize Distance to Closest Person (python)提前维护两个不同方向的列表,按照题意解题即可
leetcode 8. String to Integer (atoi)(python)
leetcode 8. String to Integer (atoi)(python)只需要按照题目的思路写代码即可,按照自己思路写的代码基本上都是报错的【狗头】
leetcode 452. Minimum Number of Arrows to Burst Balloons (python)
leetcode 452. Minimum Number of Arrows to Burst Balloons (python)使用排序解题
leetcode 1041. Robot Bounded In Circle(python)
leetcode 1041. Robot Bounded In Circle(python)找规律解题
leetcode 1463. Cherry Pickup II(python)
leetcode 1463. Cherry Pickup II(python)使用动态规划解题,用了三种方法
leetcode 1673. Find the Most Competitive Subsequence(python)
leetcode 1673. Find the Most Competitive Subsequence(python)单调栈和贪心解题
leetcode 131. Palindrome Partitioning(python)
leetcode 131. Palindrome Partitioning(python)使用动态规划和 DFS 解题
leetcode 1094. Car Pooling (python)
leetcode 1094. Car Pooling (python)此题用到了排序,但是对题目进行了巧妙的转化
leetcode 2030. Smallest K-Length Subsequence With Occurrences of a Letter
leetcode 2030. Smallest K-Length Subsequence With Occurrences of a Letter (python)使用单调栈思想解题
leetcode 402. Remove K Digits(python)
leetcode 402. Remove K Digits(python)使用单调栈的思想解题,需要注意各种边界条件
下一页