【文件属性】:
文件名称:lrucacheleetcode-LeetCode:力扣问题解决方案
文件大小:21KB
文件格式:ZIP
更新时间:2021-06-29 22:56:56
系统开源
lru缓存leetcode
力码
LeetCode
问题解决方案。
算法(主要使用
C++,部分使用
Python3)
001
二和
002
两个数相加
007
反转整数
067
添加二进制
146
LRU
缓存(40
毫秒)
159
最多两个不同字符的最长子串
200
岛屿数量
253
间会议室
II
(4ms)
273
整数转英文单词
309
买卖股票的最佳时机
350
两个数组的交集
II
(Python3)
第399章
评估师
第416话
482许可证密钥格式
543
直径二叉树
681
下一个最近的时间
683
K
空插槽
684
冗余连接
第819章
最常用的词
第843章
猜字
844
退格字符串比较
857
雇用
K
个工人的最低成本(24
毫秒)
904
水果入篮(80ms)
929
个唯一的电子邮件地址
第
947
章
981
基于时间的键值存储
982
按位且等于零的三元组
983
门票最低成本
984
无
AAA
或
BBB
字符串
TODO:
#
等待上传
005
最长回文子串
009
回文数
021
合并两个排序列表
049
组字谜
121个买卖股票的最佳时
【文件预览】:
LeetCode-master
----Algorithm()
--------332-Reconstruct Itinerary.cpp(1KB)
--------067-Add Binary.cpp(616B)
--------350-Intersection of Two Arrays II (Python3).py(489B)
--------681-Next Closest Time (v1).cpp(2KB)
--------683-K Empty Slots (v1).cpp(740B)
--------002-Add Two Numbers.cpp(834B)
--------007-Reverse Integer.cpp(834B)
--------947-Most Stones Removed with Same Row or Column.cpp(722B)
--------843-Guess the Word.cpp(2KB)
--------543-Diameter of Binary Tree.cpp(610B)
--------482-License Key Formatting.cpp(511B)
--------146-LRU Cache.cpp(1KB)
--------273-Integer to English Words.cpp(1KB)
--------981-Time Based Key-Value Store.cpp(679B)
--------684-Redundant Connection.cpp(661B)
--------200-Number of Islands.cpp(1KB)
--------309-Best Time to Buy and Sell Stock with Cooldown.cpp(831B)
--------253-Meeting Rooms II.cpp(1KB)
--------983-Minimum Cost For Tickets.cpp(874B)
--------857-Minimum Cost to Hire K Workers.cpp(809B)
--------984-String Without AAA or BBB.cpp(363B)
--------380-Insert Delete GetRandom o1.cpp(1KB)
--------681-Next Closest Time (v2).cpp(931B)
--------683-K Empty Slots (v2).cpp(1KB)
--------159-Longest Substring with At Most Two Distinct Characters.cpp(883B)
--------982-Triples with Bitwise AND Equal To Zero.cpp(478B)
--------819-Most Common Word.cpp(1KB)
--------904-Fruit Into Baskets.cpp(635B)
--------001-Two Sum.cpp(458B)
--------476-Number Complement.cpp(361B)
--------416-Partition Equal Subset Sum.cpp(888B)
--------929-Unique Email Addresses.cpp(840B)
--------399-Evaluate Division.cpp(2KB)
--------844-Backspace String Compare.cpp(808B)
----README.md(2KB)
----Database()
--------175-Combine Two Tables.sql(109B)
--------177-Nth Highest Salary.sql(245B)
--------176-Second Highest Salary.sql(131B)