首页
AI Coding
NEW
沸点
课程
直播
活动
AI刷题
APP
插件
搜索历史
清空
创作者中心
写文章
发沸点
写笔记
写代码
草稿箱
创作灵感
查看更多
会员
登录
注册
leetcode
我是王大你是谁
创建于2021-05-12
订阅专栏
python 解答 leetcode
等 30 人订阅
共750篇文章
创建于2021-05-12
订阅专栏
默认顺序
默认顺序
最早发布
最新发布
leetcode 692. Top K Frequent Words(python)
leetcode 692. Top K Frequent Words(python)见详细解题过程
leetcode 1753. Maximum Score From Removing Stones (python)
leetcode 1753. Maximum Score From Removing Stones (python)
leetcode 1431. Kids With the Greatest Number of Candies(python)
leetcode 1431. Kids With the Greatest Number of Candies(python)
leetcode 1672. Richest Customer Wealth(python)
leetcode 1672. Richest Customer Wealth(python)见详细阶梯过程
leetcode 1588. Sum of All Odd Length Subarrays (python)
leetcode 1588. Sum of All Odd Length Subarrays (python)
leetcode 1572. Matrix Diagonal Sum(python)
leetcode 1572. Matrix Diagonal Sum(python)见详细解题过程
leetcode 1464. Maximum Product of Two Elements in an Array(python)
leetcode 1464. Maximum Product of Two Elements in an Array(python)
leetcode 648. Replace Words(python)
In English, we have a concept called root, which can be followed by some other word to form another longer word - let's call this word succ…
leetcode 347. Top K Frequent Elements(python)
Given a non-empty array of integers, return the k most frequent elements. You may assume k is always valid, 1 ≤ k ≤ number of unique elemen…
leetcode 451. Sort Characters By Frequency(python)
Given a string, sort it in decreasing order based on the frequency of characters. 根据题意,只需要使用内置的函数 Counter 来统计字符串中的字符及其出现频率,然后按照频率从大到小在遍历字符串…
leetcode 970. Powerful Integers(python)
Given two positive integers x and y, an integer is powerful if it is equal to x^i + y^j for some integers i >= 0 and j >= 0. Return a list …
leetcode 535. Encode and Decode TinyURL (python)
TinyURL is a URL shortening service where you enter a URL such as https://leetcode.com/problems/design-tinyurl and it returns a short URL s…
leetcode 1337. The K Weakest Rows in a Matrix (python)
Given a m * n matrix mat of ones (representing soldiers) and zeros (representing civilians), return the indexes of the k weakest rows in th…
leetcode 540. Single Element in a Sorted Array (python)
You are given a sorted array consisting of only integers where every element appears exactly twice, except for one element which appears ex…
leetcode 475. Heaters (python)
Winter is coming! During the contest, your first job is to design a standard heater with a fixed warm radius to warm all the houses. Every …
leetcode 398. Random Pick Index(python)
Given an array of integers with possible duplicates, randomly output the index of a given target number. You can assume that the given targ…
leetcode 382. Linked List Random Node(python)
Given a singly linked list, return a random node's value from the linked list. Each node must have the same probability of being chosen. 根据…
leetcode 648. Replace Words(python)
In English, we have a concept called root, which can be followed by some other word to form another longer word - let's call this word succ…
leetcode 500. Keyboard Row(python)
Given a List of words, return the words that can be typed using letters of alphabet on only one row's of American keyboard like the image b…
leetcode 136. Single Number(python)
Given a non-empty array of integers nums, every element appears twice except for one. Find that single one. Each element in the array appea…
下一页