Problems (100)
数组:68
字符串:23
哈希表:23
排序:18
动态规划:17
数学:14
二分查找:13
矩阵:11
贪心:11
滑动窗口:9
双指针:8
模拟:8
前缀和:7
枚举:7
回溯:6
位运算:6
计数:6
深度优先搜索:5
堆(优先队列):5
:5
:4
广度优先搜索:3
记忆化搜索:3
有序集合:3
数论:3
设计:2
:2
队列:2
组合数学:2
单调栈:1
字典树:1
状态压缩:1
并查集:1
链表:1
树状数组:1
线段树:1
idtitledifficultysolution
51N 皇后hardn-queens
52N 皇后 IIhardn-queens-ii
419甲板上的战舰mediumbattleships-in-a-board
494目标和mediumtarget-sum
503下一个更大元素 IImediumnext-greater-element-ii
520检测大写字母easydetect-capital
521最长特殊序列 Ⅰeasylongest-uncommon-subsequence-i
522最长特殊序列 IImediumlongest-uncommon-subsequence-ii
540有序数组中的单一元素mediumsingle-element-in-a-sorted-array
551学生出勤记录 Ieasystudent-attendance-record-i
552学生出勤记录 IIhardstudent-attendance-record-ii
632最小区间hardsmallest-range-covering-elements-from-k-lists
661图片平滑器easyimage-smoother
676实现一个魔法字典mediumimplement-magic-dictionary
690员工的重要性mediumemployee-importance
698划分为k个相等的子集mediumpartition-to-k-equal-sum-subsets
721账户合并mediumaccounts-merge
825适龄的朋友mediumfriends-of-appropriate-ages
935骑士拨号器mediumknight-dialer
977有序数组的平方easysquares-of-a-sorted-array
997找到小镇的法官easyfind-the-town-judge
999可以被一步捕获的棋子数easyavailable-captures-for-rook
1014最佳观光组合mediumbest-sightseeing-pair
1035不相交的线mediumuncrossed-lines
1184公交站间的距离easydistance-between-bus-stops
1338数组大小减半mediumreduce-array-size-to-the-half
1450在既定时间做作业的学生人数easynumber-of-students-doing-homework-at-a-given-time
1812判断国际象棋棋盘中一个格子的颜色easydetermine-color-of-a-chessboard-square
1847最近的房间hardclosest-room
2024考试的最大困扰度mediummaximize-the-confusion-of-an-exam
2065最大化一张图中的路径价值hardmaximum-path-quality-of-a-graph
2181合并零之间的节点mediummerge-nodes-in-between-zeros
2288价格减免mediumapply-discount-to-prices
2332坐上公交的最晚时间mediumthe-latest-time-to-catch-a-bus
2374边积分最高的节点mediumnode-with-highest-edge-score
2376统计特殊整数hardcount-special-integers
2390从字符串中移除星号mediumremoving-stars-from-a-string
2398预算内的最多机器人数目hardmaximum-number-of-robots-within-budget
2414最长的字母序连续子字符串的长度mediumlength-of-the-longest-alphabetical-continuous-substring
2552统计上升四元组hardcount-increasing-quadruplets
2555两个线段获得的最多奖品mediummaximize-win-from-two-segments
2576求出最多标记下标mediumfind-the-maximum-number-of-marked-indices
2634过滤数组中的元素easyfilter-elements-from-array
2663字典序最小的美丽字符串hardlexicographically-smallest-beautiful-string
2708一个小组的最大实力值mediummaximum-strength-of-a-group
2710移除字符串中的尾随零easyremove-trailing-zeros-from-a-string
2713矩阵中严格递增的单元格数hardmaximum-strictly-increasing-cells-in-a-matrix
2717半有序排列easysemi-ordered-permutation
2732找到矩阵中的好子集hardfind-a-good-subset-of-the-matrix
2734执行子串操作后的字典序最小字符串mediumlexicographically-smallest-string-after-substring-operation
2740找出分区值mediumfind-the-value-of-the-partition
2742给墙壁刷油漆hardpainting-the-walls
2748美丽下标对的数目easynumber-of-beautiful-pairs
2779数组的最大美丽值mediummaximum-beauty-of-an-array-after-applying-operation
2786访问数组中的位置使分数最大mediumvisit-array-positions-to-maximize-score
2806取整购买后的账户余额easyaccount-balance-after-rounded-purchase
2813子序列最大优雅度hardmaximum-elegance-of-a-k-length-subsequence
2844生成特殊数字的最少操作mediumminimum-operations-to-make-a-special-number
2848与车相交的点easypoints-that-intersect-with-cars
2860让所有学生保持开心的分组方法数mediumhappy-students
2956找到两个数组中的公共元素easyfind-common-elements-between-two-arrays
3001捕获黑皇后需要的最少移动次数mediumminimum-moves-to-capture-the-queen
3096得到更多分数的最少关卡数目mediumminimum-levels-to-gain-more-points
3099哈沙德数easyharshad-number
3111覆盖所有点的最少矩形数目mediumminimum-rectangles-to-cover-points
3115质数的最大距离mediummaximum-prime-difference
3117划分数组得到最小的值之和hardminimum-sum-of-values-by-dividing-array
3127构造相同颜色的正方形easymake-a-square-with-the-same-color
3128直角三角形mediumright-triangles
3132找出与数组相加的整数 IImediumfind-the-integer-added-to-array-ii
3133数组最后一个元素的最小值mediumminimum-array-end
3137K 周期字符串需要的最少操作次数mediumminimum-number-of-operations-to-make-word-k-periodic
3138同位字符串连接的最小长度mediumminimum-length-of-anagram-concatenation
3142判断矩阵是否满足条件easycheck-if-grid-satisfies-conditions
3146两个字符串的排列差easypermutation-difference-between-two-strings
3148矩阵中的最大得分mediummaximum-difference-score-in-a-grid
3151特殊数组 Ieasyspecial-array-i
3152特殊数组 IImediumspecial-array-ii
3153所有数对中数位差之和mediumsum-of-digit-differences-of-all-pairs
3154到达第 K 级台阶的方案数hardfind-number-of-ways-to-reach-the-k-th-stair
3174清除数字easyclear-digits
3176求出最长好子序列 Imediumfind-the-maximum-length-of-a-good-subsequence-i
3177求出最长好子序列 IIhardfind-the-maximum-length-of-a-good-subsequence-ii
3206交替组 Ieasyalternating-groups-i
3208交替组 IImediumalternating-groups-ii
3233统计不是特殊数字的数字数量mediumfind-the-count-of-numbers-which-are-not-special
3238求出胜利玩家的数目easyfind-the-number-of-winning-players
3239最少翻转次数使二进制矩阵回文 Imediumminimum-number-of-flips-to-make-binary-grid-palindromic-i
3240最少翻转次数使二进制矩阵回文 IImediumminimum-number-of-flips-to-make-binary-grid-palindromic-ii
3242设计相邻元素求和服务easydesign-neighbor-sum-service
3243新增道路查询后的最短距离 Imediumshortest-distance-after-road-addition-queries-i
3244新增道路查询后的最短距离 IIhardshortest-distance-after-road-addition-queries-ii
3248矩阵中的蛇easysnake-in-matrix
3249统计好节点的数目mediumcount-the-number-of-good-nodes
3258统计满足 K 约束的子字符串数量 Ieasycount-substrings-that-satisfy-k-constraint-i
3261统计满足 K 约束的子字符串数量 IIhardcount-substrings-that-satisfy-k-constraint-ii
3264K 次乘运算后的最终数组 Ieasyfinal-array-state-after-k-multiplication-operations-i
3274检查棋盘方格颜色是否相同easycheck-if-two-chessboard-squares-have-the-same-color
LCP 40心算挑战easyuOAnQW
LCP 61气温变化趋势easy6CE719