Commit Graph

173 Commits

Author SHA1 Message Date
5f2cb9f209 集成Redisson和添加过滤器及红包功能
- 集成Redisson客户端并配置相关属性- 添加自定义过滤器配置和实现
- 实现红包领取功能和分布式锁测试
- 更新pom.xml,添加Redisson依赖
2024-10-13 11:38:54 +08:00
f768ea78f0 新增全局异常处理和幂等性相关功能
- 添加全局异常处理器 GlobalExceptionHandler,统一处理系统异常- 新增 HTTP 状态码常量类 HttpStatus
- 实现幂等性测试控制器 IdempotenceController,包括插入、更新和 Token验证操作
- 优化 TestController,调整请求映射为 POST 方法
- 新增 pom.xml 文件,配置 Spring Boot 项目依赖,包括 Knife4j、FastJson、hutool、AOP、MySQL 连接器、RabbitMQ 和 Redis 等
- 创建 SpringDemoApplication 启动类,启动 Spring Boot 应用程序
2024-10-12 11:52:40 +08:00
c73979681f feat: 添加LeetCode210、LeetCode215、LeetCode238、LeetCode189解题代码
feat: 添加限流功能
feat: 添加Redis配置,实现对指定方法的限流控制。同时添加限流相关的配置和测试接口。

Default Changelist
application.yaml
CacheConstants.java
fx.java
LeetCode146.java
LeetCode167.java
LeetCode189.java
LeetCode210.java
LeetCode215.java
LeetCode238.java
LimitType.java
P1.java
RateLimitAspect.java
RateLimiter.java
RedisConfig.java
TestController.java
ThreadLocalExample.java
2024-10-10 22:49:32 +08:00
3789fe03e3 feat: 添加了LeetCode86, LeetCode139, ThreadChangePrintDemo, Syn和LeetCode138的解决方案
Default Changelist
LeetCode86.java
LeetCode138.java
LeetCode139.java
ThreadChangePrintDemo.java
2024-10-07 23:16:25 +08:00
fd440507c4 新增五个LeetCode算法题的解决方案
- 添加了LeetCode12(整数转罗马数字)的解决方案
- 添加了LeetCode13(罗马数字转整数)的解决方案
- 添加了LeetCode57(插入区间)的解决方案
- 添加了LeetCode92(反转链表的一部分)的解决方案
- 添加了LeetCode124(二叉树最大路径和)的解决方案
2024-10-06 12:42:33 +08:00
b3c66df7da 新增设计模式和算法题目
- 添加了抽象工厂模式、适配器模式、桥接模式、建造者模式、组合模式、装饰器模式、享元模式、外观模式和工厂方法模式的实现
- 新增了交替打印、LeetCode算法题目(包括LCS、最长递增子序列、子序列判断、矩阵最长公共子数组等)的实现
- 优化了Semaphore实现的交替打印程序

Default Changelist
AbstractFactoryPattern.java
AdapterPattern.java
Alternate_printing.java
BridgingPattern.java
BuildPattern.java
ComboPattern.java
DecoratorPattern.java
EnjoyPattern.java
FacadePattern.java
FactoryMethodPattern.java
FunctionInterfaceDemo.java
FunctionInterfaceDemo.java
LCR155.java
LCR186.java
LeetCode115.java
LeetCode155.java
LeetCode230.java
LeetCode300.java
LeetCode392.java
LeetCode718.java
LeetCode912.java
PrototypePattern.java
ProxyPattern.java
rustDesk.yaml
SocketDemo.java
SpringFactoryBean.java
ThreadConnect.java
2024-10-05 23:17:21 +08:00
355ac33a49 新增设计模式和算法题目
- 添加了抽象工厂模式、适配器模式、桥接模式、建造者模式、组合模式、装饰器模式、享元模式、外观模式和工厂方法模式的实现
- 新增了交替打印、LeetCode算法题目(包括LCS、最长递增子序列、子序列判断、矩阵最长公共子数组等)的实现
- 优化了Semaphore实现的交替打印程序

Default Changelist
AbstractFactoryPattern.java
AdapterPattern.java
Alternate_printing.java
BridgingPattern.java
BuildPattern.java
ComboPattern.java
DecoratorPattern.java
EnjoyPattern.java
FacadePattern.java
FactoryMethodPattern.java
FunctionInterfaceDemo.java
FunctionInterfaceDemo.java
LCR155.java
LCR186.java
LeetCode115.java
LeetCode155.java
LeetCode230.java
LeetCode300.java
LeetCode392.java
LeetCode718.java
LeetCode912.java
PrototypePattern.java
ProxyPattern.java
rustDesk.yaml
SocketDemo.java
SpringFactoryBean.java
ThreadConnect.java
2024-10-05 23:15:32 +08:00
00672efdc8 Default Changelist
FindAbsMinItem.java
LeetCode33.java
LeetCode48.java
LeetCode69.java
LeetCode72.java
LeetCode75.java
LeetCode309.java
LeetCode739.java
LeetCode912.java
P241001.java
2024-10-03 15:02:06 +08:00
a1524dde27 Default Changelist
2024_3_30.md
AbsoluteBeiBao.java
AbstractFactoryPattern.java
AffinityThreadPoolTest.java
AioServer.java
Alternate_printing.java
AppTest.java
AppTest.java
AtomicStampedReferenceDemo.java
BeiBao.java
ByteDance.java
byteStream.java
c2.java
cd.java
cglib.java
cglib.java
ChainPattern.java
CRC16_ARC.java
Custom.java
DePattern.java
DePatternTest.java
DirectoryToMarkdown.java
FactoryAndStrategy.java
FanxinTest.java
func.java
FutureRelative.java
FutureTask.java
hashDB.java
HS.java
IOCDemo.java
Jinshan.java
KaMa47.java
Kama55.java
LambdaClass.java
LC15.java
LCR001.java
LCR001.java
LCR001.java
LCR001.java
LCR089.java
LCR090.java
LCR090.java
LCR155.java
LCR181.java
LeeCode146.java
LeetCode1.java
LeetCode2.java
LeetCode002.java
LeetCode3.java
LeetCode3.java
LeetCode003.java
LeetCode4.java
LeetCode5.java
LeetCode5.java
LeetCode5.java
LeetCode5.java
LeetCode005.java
LeetCode6.java
LeetCode10.java
LeetCode11.java
LeetCode11.java
LeetCode11.java
LeetCode11.java
LeetCode12.java
LeetCode13.java
LeetCode14.java
LeetCode15.java
LeetCode15.java
LeetCode15.java
LeetCode15.java
LeetCode15_$.java
LeetCode17.java
LeetCode17_12BiNode.java
LeetCode18.java
LeetCode18.java
LeetCode18.java
LeetCode19.java
LeetCode19.java
LeetCode20.java
LeetCode20.java
LeetCode21.java
LeetCode21.java
LeetCode21.java
LeetCode22.java
LeetCode22.java
LeetCode22.java
LeetCode23.java
LeetCode23.java
LeetCode23.java
LeetCode24.java
LeetCode25.java
LeetCode26.java
LeetCode27.java
LeetCode28.java
LeetCode28.java
LeetCode28.java
LeetCode28.java
LeetCode28.java
LeetCode28.java
LeetCode28_false.java
LeetCode29.java
LeetCode31.java
LeetCode31.java
LeetCode31.java
LeetCode32.java
LeetCode32.java
LeetCode32.java
LeetCode32.java
LeetCode33.java
LeetCode33.java
LeetCode33.java
LeetCode34.java
LeetCode35.java
LeetCode36.java
LeetCode39.java
LeetCode40.java
LeetCode40.java
LeetCode40.java
LeetCode40.java
LeetCode42.java
LeetCode42.java
LeetCode42.java
LeetCode45.java
LeetCode45.java
LeetCode45.java
LeetCode45.java
LeetCode45.java
LeetCode45.java
LeetCode45.java
LeetCode46.java
LeetCode46.java
LeetCode46.java
LeetCode47.java
LeetCode47.java
LeetCode47.java
LeetCode48.java
LeetCode48.java
LeetCode49.java
LeetCode51.java
LeetCode51.java
LeetCode51.java
LeetCode53.java
LeetCode53.java
LeetCode53.java
LeetCode53.java
LeetCode53.java
LeetCode53.java
LeetCode54.java
LeetCode55.java
LeetCode55.java
LeetCode55.java
LeetCode56.java
LeetCode57.java
LeetCode58.java
LeetCode59.java
LeetCode61.java
LeetCode62.java
LeetCode63.java
LeetCode64.java
LeetCode69.java
LeetCode69.java
LeetCode69.java
LeetCode69.java
LeetCode70.java
LeetCode71.java
LeetCode72.java
LeetCode72.java
LeetCode72.java
LeetCode73.java
LeetCode75.java
LeetCode75.java
LeetCode75.java
LeetCode77.java
LeetCode77.java
LeetCode77.java
LeetCode77.java
LeetCode78.java
LeetCode80.java
LeetCode82.java
LeetCode84.java
LeetCode84.java
LeetCode84.java
LeetCode84_1.java
LeetCode88.java
LeetCode90.java
LeetCode90.java
LeetCode90.java
LeetCode92.java
LeetCode93.java
LeetCode93.java
LeetCode94.java
LeetCode94.java
LeetCode94.java
LeetCode94.java
LeetCode94_145_144_102.java
LeetCode96.java
LeetCode96.java
LeetCode96.java
LeetCode96.java
LeetCode96.java
LeetCode98.java
LeetCode100.java
LeetCode101.java
LeetCode101.java
LeetCode101.java
LeetCode101.java
LeetCode102.java
LeetCode102.java
LeetCode104.java
LeetCode105.java
LeetCode105.java
LeetCode105.java
LeetCode105_106.java
LeetCode106.java
LeetCode107.java
LeetCode108.java
LeetCode110.java
LeetCode110.java
LeetCode110.java
LeetCode110.java
LeetCode110.java
LeetCode111.java
LeetCode112.java
LeetCode113.java
LeetCode114.java
LeetCode115.java
LeetCode115.java
LeetCode116.java
LeetCode121.java
LeetCode121.java
LeetCode121.java
LeetCode122.java
LeetCode122.java
LeetCode122.java
LeetCode124.java
LeetCode125.java
LeetCode128.java
LeetCode131.java
LeetCode131.java
LeetCode131.java
LeetCode131.java
LeetCode131.java
LeetCode134.java
LeetCode134.java
LeetCode134.java
LeetCode134.java
LeetCode134.java
LeetCode135.java
LeetCode135.java
LeetCode135.java
LeetCode135.java
LeetCode138.java
LeetCode139.java
LeetCode141.java
LeetCode142.java
LeetCode142.java
LeetCode144.java
LeetCode145.java
LeetCode145.java
LeetCode146.java
LeetCode150.java
LeetCode151.java
LeetCode151.java
LeetCode151.java
LeetCode151.java
LeetCode155.java
LeetCode160.java
LeetCode165.java
LeetCode167.java
LeetCode169.java
LeetCode189.java
LeetCode198.java
LeetCode199.java
LeetCode199.java
LeetCode199.java
LeetCode199.java
LeetCode202.java
LeetCode202.java
LeetCode202.java
LeetCode202.java
LeetCode202.java
LeetCode203.java
LeetCode203.java
LeetCode203.java
LeetCode203.java
LeetCode203.java
LeetCode203_false.java
LeetCode205.java
LeetCode206.java
LeetCode206.java
LeetCode206.java
LeetCode206.java
LeetCode206.java
LeetCode206.java
LeetCode206_false.java
LeetCode207.java
LeetCode209.java
LeetCode209.java
LeetCode209.java
LeetCode209.java
LeetCode209.java
LeetCode209.java
LeetCode209.java
LeetCode209_false.java
LeetCode210.java
LeetCode215.java
LeetCode216.java
LeetCode216.java
LeetCode216.java
LeetCode216.java
LeetCode219.java
LeetCode222.java
LeetCode222.java
LeetCode222.java
LeetCode222.java
LeetCode222.java
LeetCode222.java
LeetCode222.java
LeetCode225.java
LeetCode225.java
LeetCode225.java
LeetCode225.java
LeetCode226.java
LeetCode228.java
LeetCode232.java
LeetCode232.java
LeetCode232.java
LeetCode232.java
LeetCode234.java
LeetCode235.java
LeetCode236.java
LeetCode236.java
LeetCode236.java
LeetCode236.java
LeetCode236.java
LeetCode236.java
LeetCode238.java
LeetCode239.java
LeetCode239_false.java
LeetCode242.java
LeetCode246.java
LeetCode257.java
LeetCode257.java
LeetCode257.java
LeetCode257.java
LeetCode274.java
LeetCode276.java
LeetCode277.java
LeetCode279.java
LeetCode279.java
LeetCode279.java
LeetCode279.java
LeetCode287.java
LeetCode287.java
LeetCode287.java
LeetCode287.java
LeetCode287.java
LeetCode287_false.java
LeetCode289.java
LeetCode290.java
LeetCode300.java
LeetCode300.java
LeetCode300.java
LeetCode309.java
LeetCode322.java
LeetCode322.java
LeetCode322.java
LeetCode322.java
LeetCode332difficult.java
LeetCode337.java
LeetCode337.java
LeetCode337.java
LeetCode337.java
LeetCode337_1.java
LeetCode343.java
LeetCode343.java
LeetCode343.java
LeetCode343.java
LeetCode344.java
LeetCode347.java
LeetCode347.java
LeetCode347.java
LeetCode347.java
LeetCode349.java
LeetCode350.java
LeetCode367.java
LeetCode376.java
LeetCode376.java
LeetCode376.java
LeetCode376.java
LeetCode376.java
LeetCode377.java
LeetCode377.java
LeetCode377.java
LeetCode380.java
LeetCode383.java
LeetCode392.java
LeetCode392.java
LeetCode392.java
LeetCode404.java
LeetCode406.java
LeetCode406.java
LeetCode406.java
LeetCode406.java
LeetCode415.java
LeetCode416.java
LeetCode416.java
LeetCode416.java
LeetCode416.java
LeetCode416.java
LeetCode429.java
LeetCode435.java
LeetCode435.java
LeetCode435.java
LeetCode435.java
LeetCode450.java
LeetCode450.java
LeetCode450.java
LeetCode450.java
LeetCode450.java
LeetCode452.java
LeetCode452.java
LeetCode452.java
LeetCode453.java
LeetCode454.java
LeetCode455.java
LeetCode459.java
LeetCode462.java
LeetCode468.java
LeetCode474.java
LeetCode474.java
LeetCode474.java
LeetCode491.java
LeetCode491.java
LeetCode491.java
LeetCode491.java
LeetCode494.java
LeetCode494.java
LeetCode494.java
LeetCode496.java
LeetCode496.java
LeetCode496.java
LeetCode501.java
LeetCode501.java
LeetCode501.java
LeetCode501.java
LeetCode503.java
LeetCode503.java
LeetCode503.java
LeetCode509.java
LeetCode509.java
LeetCode509.java
LeetCode513.java
LeetCode515.java
LeetCode516.java
LeetCode518.java
LeetCode530.java
LeetCode538.java
LeetCode541.java
LeetCode559.java
LeetCode583.java
LeetCode583.java
LeetCode617.java
LeetCode637.java
LeetCode647.java
LeetCode647.java
LeetCode647.java
LeetCode647.java
LeetCode647_1.java
LeetCode654.java
LeetCode669.java
LeetCode674.java
LeetCode674.java
LeetCode674.java
LeetCode698.java
LeetCode700.java
LeetCode701.java
LeetCode701.java
LeetCode701.java
LeetCode703.java
LeetCode704.java
LeetCode704.java
LeetCode705.java
LeetCode707.java
LeetCode707_2.java
LeetCode713.java
LeetCode713.java
LeetCode713.java
LeetCode713.java
LeetCode714.java
LeetCode718.java
LeetCode718.java
LeetCode718.java
LeetCode718.java
LeetCode738.java
LeetCode738.java
LeetCode738.java
LeetCode738.java
LeetCode738.java
LeetCode739.java
LeetCode739.java
LeetCode739.java
LeetCode746.java
LeetCode763.java
LeetCode763.java
LeetCode763.java
LeetCode763.java
LeetCode763.java
LeetCode860.java
LeetCode860.java
LeetCode860.java
LeetCode912.java
LeetCode912_SortArrays.java
LeetCode946.java
LeetCode968.java
LeetCode968.java
LeetCode968.java
LeetCode968.java
LeetCode968.java
LeetCode977.java
LeetCode989.java
LeetCode1005.java
LeetCode1005.java
LeetCode1005.java
LeetCode1005.java
LeetCode1035.java
LeetCode1047.java
LeetCode1049.java
LeetCode1049.java
LeetCode1049.java
LeetCode1049.java
LeetCode1143.java
LeetCode1143.java
LeetCode1143.java
LeetCode2487.java
LeetCode2487.java
LeetCode2487.java
LeetCode2487.java
LeetCode2487.java
LeetCode2487_false.java
LeetCode2602.java
LeetCode2602.java
LeetCode2602.java
LeetCode_0207_IntersectionNode.java
LeetCodeQuickSort.java
Line.java
ListNode.java
listSeries.java
MapUtils.java
MeiTuan24_3_9.java
MeiTuan24QiuZhao.java
meituan810.java
meituan824.java
Metituan2.java
MT.java
MT3_39.java
MyHashMap.java
MyHeap.java
Node.java
NoIElse.java
NoIfElse.java
Offer03.java
OptimisticLock.java
P1.java
P1.java
P1.java
P1.java
p1.java
p1.java
p1.java
p1.java
p1.java
p1.java
p2.java
PaLouTi.java
pom.xml
pom.xml
pom.xml
PriorityQueue.java
Problem310.java
Proxy.java
QueryTask.java
RateLimitingRequestSplitter.java
README.md
Review.java
ScheduledThreadPoolTest.java
SelfDefiniteThreadPool.java
ShapleyValueDemo.java
SingletonPattern.java
SocketDemo.java
ss.java
StackForQueue.java
StampedLockDemo.java
StaticObjTest.java
Stock.java
StrategyPattern.java
TC1.java
Tes1.java
Test.java
test.java
Test01.java
Test02.java
TestCacheThreadPool.java
TestDemo.java
TestInteger.java
testTry.java
ThreadDemo1.java
ThreadLocalExample.java
ThreadTest.java
TreeNode.java
tse.java
tx01.java
Write.java
xc328.java
Xie3_13.java
Unversioned Files
2024-09-29 23:44:30 +08:00
0f6a5b723f Default Changelist
2024_3_30.md
AbsoluteBeiBao.java
AbstractFactoryPattern.java
AffinityThreadPoolTest.java
AioServer.java
Alternate_printing.java
AppTest.java
AppTest.java
AtomicStampedReferenceDemo.java
BeiBao.java
ByteDance.java
byteStream.java
c2.java
cd.java
cglib.java
cglib.java
ChainPattern.java
CRC16_ARC.java
Custom.java
DePattern.java
DePatternTest.java
DirectoryToMarkdown.java
FactoryAndStrategy.java
FanxinTest.java
func.java
FutureRelative.java
FutureTask.java
hashDB.java
HS.java
IOCDemo.java
Jinshan.java
KaMa47.java
Kama55.java
LambdaClass.java
LC15.java
LCR001.java
LCR001.java
LCR001.java
LCR001.java
LCR089.java
LCR090.java
LCR090.java
LCR155.java
LCR181.java
LeeCode146.java
LeetCode1.java
LeetCode2.java
LeetCode002.java
LeetCode3.java
LeetCode3.java
LeetCode003.java
LeetCode4.java
LeetCode5.java
LeetCode5.java
LeetCode5.java
LeetCode5.java
LeetCode005.java
LeetCode6.java
LeetCode10.java
LeetCode11.java
LeetCode11.java
LeetCode11.java
LeetCode11.java
LeetCode12.java
LeetCode13.java
LeetCode14.java
LeetCode15.java
LeetCode15.java
LeetCode15.java
LeetCode15.java
LeetCode15_$.java
LeetCode17.java
LeetCode17_12BiNode.java
LeetCode18.java
LeetCode18.java
LeetCode18.java
LeetCode19.java
LeetCode19.java
LeetCode20.java
LeetCode20.java
LeetCode21.java
LeetCode21.java
LeetCode21.java
LeetCode22.java
LeetCode22.java
LeetCode22.java
LeetCode23.java
LeetCode23.java
LeetCode23.java
LeetCode24.java
LeetCode25.java
LeetCode26.java
LeetCode27.java
LeetCode28.java
LeetCode28.java
LeetCode28.java
LeetCode28.java
LeetCode28.java
LeetCode28.java
LeetCode28_false.java
LeetCode29.java
LeetCode31.java
LeetCode31.java
LeetCode31.java
LeetCode32.java
LeetCode32.java
LeetCode32.java
LeetCode32.java
LeetCode33.java
LeetCode33.java
LeetCode33.java
LeetCode34.java
LeetCode35.java
LeetCode36.java
LeetCode39.java
LeetCode40.java
LeetCode40.java
LeetCode40.java
LeetCode40.java
LeetCode42.java
LeetCode42.java
LeetCode42.java
LeetCode45.java
LeetCode45.java
LeetCode45.java
LeetCode45.java
LeetCode45.java
LeetCode45.java
LeetCode45.java
LeetCode46.java
LeetCode46.java
LeetCode46.java
LeetCode47.java
LeetCode47.java
LeetCode47.java
LeetCode48.java
LeetCode48.java
LeetCode49.java
LeetCode51.java
LeetCode51.java
LeetCode51.java
LeetCode53.java
LeetCode53.java
LeetCode53.java
LeetCode53.java
LeetCode53.java
LeetCode53.java
LeetCode54.java
LeetCode55.java
LeetCode55.java
LeetCode55.java
LeetCode56.java
LeetCode57.java
LeetCode58.java
LeetCode59.java
LeetCode61.java
LeetCode62.java
LeetCode63.java
LeetCode64.java
LeetCode69.java
LeetCode69.java
LeetCode69.java
LeetCode69.java
LeetCode70.java
LeetCode71.java
LeetCode72.java
LeetCode72.java
LeetCode72.java
LeetCode73.java
LeetCode75.java
LeetCode75.java
LeetCode75.java
LeetCode77.java
LeetCode77.java
LeetCode77.java
LeetCode77.java
LeetCode78.java
LeetCode80.java
LeetCode82.java
LeetCode84.java
LeetCode84.java
LeetCode84.java
LeetCode84_1.java
LeetCode88.java
LeetCode90.java
LeetCode90.java
LeetCode90.java
LeetCode92.java
LeetCode93.java
LeetCode93.java
LeetCode94.java
LeetCode94.java
LeetCode94.java
LeetCode94.java
LeetCode94_145_144_102.java
LeetCode96.java
LeetCode96.java
LeetCode96.java
LeetCode96.java
LeetCode96.java
LeetCode98.java
LeetCode100.java
LeetCode101.java
LeetCode101.java
LeetCode101.java
LeetCode101.java
LeetCode102.java
LeetCode102.java
LeetCode104.java
LeetCode105.java
LeetCode105.java
LeetCode105.java
LeetCode105_106.java
LeetCode106.java
LeetCode107.java
LeetCode108.java
LeetCode110.java
LeetCode110.java
LeetCode110.java
LeetCode110.java
LeetCode110.java
LeetCode111.java
LeetCode112.java
LeetCode113.java
LeetCode114.java
LeetCode115.java
LeetCode115.java
LeetCode116.java
LeetCode121.java
LeetCode121.java
LeetCode121.java
LeetCode122.java
LeetCode122.java
LeetCode122.java
LeetCode124.java
LeetCode125.java
LeetCode128.java
LeetCode131.java
LeetCode131.java
LeetCode131.java
LeetCode131.java
LeetCode131.java
LeetCode134.java
LeetCode134.java
LeetCode134.java
LeetCode134.java
LeetCode134.java
LeetCode135.java
LeetCode135.java
LeetCode135.java
LeetCode135.java
LeetCode138.java
LeetCode139.java
LeetCode141.java
LeetCode142.java
LeetCode142.java
LeetCode144.java
LeetCode145.java
LeetCode145.java
LeetCode146.java
LeetCode150.java
LeetCode151.java
LeetCode151.java
LeetCode151.java
LeetCode151.java
LeetCode155.java
LeetCode160.java
LeetCode165.java
LeetCode167.java
LeetCode169.java
LeetCode189.java
LeetCode198.java
LeetCode199.java
LeetCode199.java
LeetCode199.java
LeetCode199.java
LeetCode202.java
LeetCode202.java
LeetCode202.java
LeetCode202.java
LeetCode202.java
LeetCode203.java
LeetCode203.java
LeetCode203.java
LeetCode203.java
LeetCode203.java
LeetCode203_false.java
LeetCode205.java
LeetCode206.java
LeetCode206.java
LeetCode206.java
LeetCode206.java
LeetCode206.java
LeetCode206.java
LeetCode206_false.java
LeetCode207.java
LeetCode209.java
LeetCode209.java
LeetCode209.java
LeetCode209.java
LeetCode209.java
LeetCode209.java
LeetCode209.java
LeetCode209_false.java
LeetCode210.java
LeetCode215.java
LeetCode216.java
LeetCode216.java
LeetCode216.java
LeetCode216.java
LeetCode219.java
LeetCode222.java
LeetCode222.java
LeetCode222.java
LeetCode222.java
LeetCode222.java
LeetCode222.java
LeetCode222.java
LeetCode225.java
LeetCode225.java
LeetCode225.java
LeetCode225.java
LeetCode226.java
LeetCode228.java
LeetCode232.java
LeetCode232.java
LeetCode232.java
LeetCode232.java
LeetCode234.java
LeetCode235.java
LeetCode236.java
LeetCode236.java
LeetCode236.java
LeetCode236.java
LeetCode236.java
LeetCode236.java
LeetCode238.java
LeetCode239.java
LeetCode239_false.java
LeetCode242.java
LeetCode246.java
LeetCode257.java
LeetCode257.java
LeetCode257.java
LeetCode257.java
LeetCode274.java
LeetCode276.java
LeetCode277.java
LeetCode279.java
LeetCode279.java
LeetCode279.java
LeetCode279.java
LeetCode287.java
LeetCode287.java
LeetCode287.java
LeetCode287.java
LeetCode287.java
LeetCode287_false.java
LeetCode289.java
LeetCode290.java
LeetCode300.java
LeetCode300.java
LeetCode300.java
LeetCode309.java
LeetCode322.java
LeetCode322.java
LeetCode322.java
LeetCode322.java
LeetCode332difficult.java
LeetCode337.java
LeetCode337.java
LeetCode337.java
LeetCode337.java
LeetCode337_1.java
LeetCode343.java
LeetCode343.java
LeetCode343.java
LeetCode343.java
LeetCode344.java
LeetCode347.java
LeetCode347.java
LeetCode347.java
LeetCode347.java
LeetCode349.java
LeetCode350.java
LeetCode367.java
LeetCode376.java
LeetCode376.java
LeetCode376.java
LeetCode376.java
LeetCode376.java
LeetCode377.java
LeetCode377.java
LeetCode377.java
LeetCode380.java
LeetCode383.java
LeetCode392.java
LeetCode392.java
LeetCode392.java
LeetCode404.java
LeetCode406.java
LeetCode406.java
LeetCode406.java
LeetCode406.java
LeetCode415.java
LeetCode416.java
LeetCode416.java
LeetCode416.java
LeetCode416.java
LeetCode416.java
LeetCode429.java
LeetCode435.java
LeetCode435.java
LeetCode435.java
LeetCode435.java
LeetCode450.java
LeetCode450.java
LeetCode450.java
LeetCode450.java
LeetCode450.java
LeetCode452.java
LeetCode452.java
LeetCode452.java
LeetCode453.java
LeetCode454.java
LeetCode455.java
LeetCode459.java
LeetCode462.java
LeetCode468.java
LeetCode474.java
LeetCode474.java
LeetCode474.java
LeetCode491.java
LeetCode491.java
LeetCode491.java
LeetCode491.java
LeetCode494.java
LeetCode494.java
LeetCode494.java
LeetCode496.java
LeetCode496.java
LeetCode496.java
LeetCode501.java
LeetCode501.java
LeetCode501.java
LeetCode501.java
LeetCode503.java
LeetCode503.java
LeetCode503.java
LeetCode509.java
LeetCode509.java
LeetCode509.java
LeetCode513.java
LeetCode515.java
LeetCode516.java
LeetCode518.java
LeetCode530.java
LeetCode538.java
LeetCode541.java
LeetCode559.java
LeetCode583.java
LeetCode583.java
LeetCode617.java
LeetCode637.java
LeetCode647.java
LeetCode647.java
LeetCode647.java
LeetCode647.java
LeetCode647_1.java
LeetCode654.java
LeetCode669.java
LeetCode674.java
LeetCode674.java
LeetCode674.java
LeetCode698.java
LeetCode700.java
LeetCode701.java
LeetCode701.java
LeetCode701.java
LeetCode703.java
LeetCode704.java
LeetCode704.java
LeetCode705.java
LeetCode707.java
LeetCode707_2.java
LeetCode713.java
LeetCode713.java
LeetCode713.java
LeetCode713.java
LeetCode714.java
LeetCode718.java
LeetCode718.java
LeetCode718.java
LeetCode718.java
LeetCode738.java
LeetCode738.java
LeetCode738.java
LeetCode738.java
LeetCode738.java
LeetCode739.java
LeetCode739.java
LeetCode739.java
LeetCode746.java
LeetCode763.java
LeetCode763.java
LeetCode763.java
LeetCode763.java
LeetCode763.java
LeetCode860.java
LeetCode860.java
LeetCode860.java
LeetCode912.java
LeetCode912_SortArrays.java
LeetCode946.java
LeetCode968.java
LeetCode968.java
LeetCode968.java
LeetCode968.java
LeetCode968.java
LeetCode977.java
LeetCode989.java
LeetCode1005.java
LeetCode1005.java
LeetCode1005.java
LeetCode1005.java
LeetCode1035.java
LeetCode1047.java
LeetCode1049.java
LeetCode1049.java
LeetCode1049.java
LeetCode1049.java
LeetCode1143.java
LeetCode1143.java
LeetCode1143.java
LeetCode2487.java
LeetCode2487.java
LeetCode2487.java
LeetCode2487.java
LeetCode2487.java
LeetCode2487_false.java
LeetCode2602.java
LeetCode2602.java
LeetCode2602.java
LeetCode_0207_IntersectionNode.java
LeetCodeQuickSort.java
Line.java
ListNode.java
listSeries.java
MapUtils.java
MeiTuan24_3_9.java
MeiTuan24QiuZhao.java
meituan810.java
meituan824.java
Metituan2.java
MT.java
MT3_39.java
MyHashMap.java
MyHeap.java
Node.java
NoIElse.java
NoIfElse.java
Offer03.java
OptimisticLock.java
P1.java
P1.java
P1.java
P1.java
p1.java
p1.java
p1.java
p1.java
p1.java
p1.java
p2.java
PaLouTi.java
pom.xml
pom.xml
pom.xml
PriorityQueue.java
Problem310.java
Proxy.java
QueryTask.java
RateLimitingRequestSplitter.java
README.md
Review.java
ScheduledThreadPoolTest.java
SelfDefiniteThreadPool.java
ShapleyValueDemo.java
SingletonPattern.java
SocketDemo.java
ss.java
StackForQueue.java
StampedLockDemo.java
StaticObjTest.java
Stock.java
StrategyPattern.java
TC1.java
Tes1.java
Test.java
test.java
Test01.java
Test02.java
TestCacheThreadPool.java
TestDemo.java
TestInteger.java
testTry.java
ThreadDemo1.java
ThreadLocalExample.java
ThreadTest.java
TreeNode.java
tse.java
tx01.java
Write.java
xc328.java
Xie3_13.java
Unversioned Files
2024-09-29 23:42:34 +08:00
64ea4c89f0 Default Changelist
AioServer.java
SelfDefiniteThreadPool.java
2024-09-28 12:31:53 +08:00
574e99f373 Default Changelist
LCR001.java
LeetCode11.java
LeetCode277.java
LeetCode279.java
LeetCode322.java
LeetCode713.java
LeetCode1049.java
Tc.md
2024-09-27 20:42:08 +08:00
61d92b60d5 feat: 添加了LeetCode96, LeetCode416, LeetCode53, LeetCode135, LeetCode219, LeetCode406, LeetCode36四个Java类,分别对应LeetCode题目中的解法;
feat: 添加了FutureRelative类,用于演示Java中的Future和CompletableFuture用法;
feat: 添加了Solution1和Solution两个类,分别对应LeetCode36题目的两种解法;

Default Changelist
AffinityThreadPoolTest.java
FutureRelative.java
LeetCode36.java
LeetCode45.java
LeetCode53.java
LeetCode96.java
LeetCode134.java
LeetCode135.java
LeetCode219.java
LeetCode406.java
LeetCode416.java
LeetCode763.java
LeetCode968.java
LeetCode1005.java
P1.java
SocketDemo.java
2024-09-27 11:00:46 +08:00
2219024e1b 文档添加关于字符串、字节和void数据类型的说明
在NumPy文档中,常规介绍部分现在包含了关于字符串、字节和void数据类型的信息,以及现有的数值类型。

Default Changelist
LC15.java
LeetCode40.java
LeetCode55.java
LeetCode94.java
LeetCode131.java
LeetCode209.java
LeetCode222.java
LeetCode276.java
p1.java
2024-09-24 22:59:28 +08:00
6d49b27147 Default Changelist
AioServer.java
FactoryAndStrategy.java
LeetCode25.java
LeetCode49.java
LeetCode61.java
LeetCode71.java
LeetCode73.java
LeetCode114.java
LeetCode141.java
LeetCode228.java
LeetCode289.java
LeetCode290.java
LeetCode703.java
SingletonPattern.java
ThreadDemo1.java

AndStrategy类,使用策略模式优化支付方式。

这些更改包括对单例模式的实现、线程控制的改进、LeetCode问题的解决以及设计模式的应用。
2024-09-24 10:09:45 +08:00
33dffb6b07 文档更新:字符串、字节和void数据类型信息已添加到NumPy文档的常规介绍部分,与现有的数值类型信息并列。
错误修复:用户创建操作现在将正确分配UUID,由于SQL查询中参数顺序的问题已得到解决,确保用户可以成功创建。

功能优化:EntityClass的重新加载机制将遵循`flush`参数的指示,防止在刷新设置为false时刷新新实体。
2024-09-21 23:21:56 +08:00
b8cbf111fe ```添加新的LeetCode字符串和数组问题解决方案
解决了新的LeetCode字符串和数组问题,包括字符串转换、罗马数字转换、插入区间、寻找最长公共前缀和判断回文字符串。这些解决方案涵盖了各种字符串操作和数组处理技巧,体现了在面对不同算法挑战时的灵活性和效率。
```
2024-09-19 01:04:12 +08:00
93d200414a 文档添加关于字符串、字节和void数据类型的说明
在NumPy文档中,常规介绍部分现在包含了关于字符串、字节和void数据类型的信息,以及现有的数值类型。
2024-09-18 00:44:23 +08:00
093947705e 代码重构与新增解决方案:
-重构`LeetCode5`、`LeetCode15`与`LeetCode53`,优化代码结构并引入新测试用例。
- 在`LeetCode80`与`LeetCode88`中添加新解法,提升数组操作效率。
- 为`LeetCode124`、`LeetCode146`以及`LeetCode189`等题新增解决方案,丰富算法实现。
- 在`LeetCode274`、`LeetCode380`中引入新思路,提高算法效率。

所有新增代码均包含单元测试,保证代码质量与可验证性。
2024-09-16 19:38:34 +08:00
a75259b346 更新 LCR155.java、LeetCode207.java、LeetCode210.java 和 LeetCode583.java 文件,进行代码优化和逻辑调整。 2024-09-16 10:20:05 +08:00
1e4aa82952 Merge branch 'master' of https://gitee.com/lkwhai/leet-code
# Conflicts:
#	src/main/java/cn/whaifree/leetCode/LinkedList/LCR155.java
2024-09-16 00:00:32 +08:00
ad890c9d8a refactor(interview): 重命名ccn包为zhaoyun包
将'cn.whaifree.interview.ccn'包重命名为'cn.whaifree.interview.zhaoyun',以反映新的命名约定。c2.java和p2.java文件中的包声明已更新。

feat(redo): 添加LeetCode718和LeetCode1143题目解决方案

新增'LeetCode718'和'LeetCode1143'两个类,分别提供'最长公共子数组'和'最长公共子序列'问题的解决方案。包括单元测试和算法实现。
2024-09-15 23:59:52 +08:00
kyriewhluo
d67b248bcf 更新多个Java文件,包括FanxinTest.java、LCR155.java、p1.java、StackForQueue.java和TC1.java,进行了修改。请查看具体改动以了解详细内容。 2024-09-15 23:41:25 +08:00
kyriewhluo
63ca326724 文档添加关于字符串、字节和void数据类型的说明
在NumPy文档中,常规介绍部分现在包含了关于字符串、字节和void数据类型的信息,以及现有的数值类型。
2024-09-12 19:55:16 +08:00
b96497213a refactor(interview): 重命名ccn包为zhaoyun包
将'cn.whaifree.interview.ccn'包重命名为'cn.whaifree.interview.zhaoyun',以反映新的命名约定。c2.java和p2.java文件中的包声明已更新。

feat(redo): 添加LeetCode718和LeetCode1143题目解决方案

新增'LeetCode718'和'LeetCode1143'两个类,分别提供'最长公共子数组'和'最长公共子序列'问题的解决方案。包括单元测试和算法实现。
2024-09-12 01:05:01 +08:00
597ef47dc0 文档更新:NumPy常规介绍部分新增了关于字符串、字节和void数据类型的描述,为开发者提供了更全面的数据类型概述。 2024-09-11 09:28:57 +08:00
whaifree
2261203e48 -k 2024-09-04 00:54:26 +08:00
whaifree
a10c05498c feat: 添加了LeetCode题目求解代码 2024-09-04 00:46:31 +08:00
kyriewhluo
6720c74fc3 文档添加关于字符串、字节和void数据类型的说明
在NumPy文档中,常规介绍部分现在包含了关于字符串、字节和void数据类型的信息,以及现有的数值类型。
2024-09-03 19:58:40 +08:00
kyriewhluo
8b2871b87e ```重构findKthLargest方法使用堆优化
重构'findKthLargest'方法以使用堆优化。新的实现使用一个固定长度的小顶堆来维护当前最小的k个元素。遍历输入数组时,将每个元素与堆顶元素比较,如果大于堆顶元素,则移除堆顶元素并将新元素插入堆中,以确保堆中始终包含数组中最大的k个元素。最后,堆顶元素即为第k大的元素。

此实现的优势在于对于大数据集,它提供了更高效的性能,尤其是在k相对较小而输入数组很大时。通过堆的使用,避免了对整个数组进行完全排序的需要,从而降低了计算复杂度。
```
2024-09-02 19:57:02 +08:00
whaifree
2c56c727b1 文档更新与代码优化
- 文档中已添加关于字符串、字节和void数据类型的说明,以完善NumPy数据类型部分。
- 修复了用户创建操作中的SQL错误,确保UUID正确分配给新用户记录。
- 调整了EntityClass内的重新加载机制,使其能够遵循给定的`flush`参数,防止在刷新时错误地刷新新实体。
2024-09-02 00:57:08 +08:00
whaifree
ae7654ad39 feat: 修改了LeetCode912_SortArrays和LeetCode215的快速排序算法,并添加了堆排序算法的实现。同时,增加了相关测试用例。 2024-08-31 14:38:22 +08:00
kyriewhluo
4895af547b ```重构findKthLargest方法使用堆优化
重构'findKthLargest'方法以使用堆优化。新的实现使用一个固定长度的小顶堆来维护当前最小的k个元素。遍历输入数组时,将每个元素与堆顶元素比较,如果大于堆顶元素,则移除堆顶元素并将新元素插入堆中,以确保堆中始终包含数组中最大的k个元素。最后,堆顶元素即为第k大的元素。

此实现的优势在于对于大数据集,它提供了更高效的性能,尤其是在k相对较小而输入数组很大时。通过堆的使用,避免了对整个数组进行完全排序的需要,从而降低了计算复杂度。
```
2024-08-30 20:06:28 +08:00
kyriewhluo
dde621339d 文档添加关于字符串、字节和void数据类型的说明
在NumPy文档中,常规介绍部分现在包含了关于字符串、字节和void数据类型的信息,以及现有的数值类型。
2024-08-30 17:51:14 +08:00
kyriewhluo
24d5304d49 Merge branch 'master' of https://gitee.com/lkwhai/leet-code 2024-08-29 20:03:38 +08:00
kyriewhluo
6878c31322 feat(leetcodes): 添加LR181和LeetCode215题目解决方案
- 实现LR181字符串反转逻辑,通过调整空格位置反转单词顺序。
- 添加LeetCode215,采用堆排序算法查找第k大的数字,包含优化的小顶堆实现。- 扩展TreeNode类以支持通过整数数组构建二叉树的功能。
2024-08-29 20:02:32 +08:00
kyriewhluo
f40f87b246 feat(desIGN-pattERns): 实现抽象工厂模式并重构线程演示代码
- 新增AbstractFactoryPattern类,展示如何使用抽象工厂模式来创建不同风格的家具。
- 重构ThreadDemo1类,修正多线程示例,确保map变量的线程安全操作。

抽象工厂模式允许在不指定具体类的情况下创建一系列相关对象,本提交提供了一个应用示例。在ThreadDemo1类中,避免了在并发情况下潜在的map变量操作问题,确保线程安全。
2024-08-29 17:38:13 +08:00
whaifree
cd7ab8e9ff feat: 添加了LeetCode48和LeetCode69的解决方案 2024-08-29 01:13:31 +08:00
whaifree
030780afa8 Merge branch 'master' of https://gitee.com/lkwhai/leet-code 2024-08-27 01:02:39 +08:00
whaifree
b980f346ba feat: 添加了LeetCode496, LeetCode503, LeetCode33, LeetCode739的解答 2024-08-27 01:02:06 +08:00
kyriewhluo
5eae0d14be Merge branch 'master' of https://gitee.com/lkwhai/leet-code 2024-08-26 20:05:35 +08:00
kyriewhluo
c2809edacc ```mock异常处理和ReentrantLock演示的实用程序方法
添加了一个实用程序方法来演示mock异常处理和ReentrantLock的使用。这个方法展示了如何使用CompletableFuture进行异步操作,
以及如何处理异常,包括超时和中断情况。还展示了如何使用ReentrantLock进行线程同步,并解释了lock和tryLock方法的区别。
```
2024-08-26 20:03:18 +08:00
whaifree
bd1472ccf2 feat(spring): 实现基于注解的简单IoC容器
创建了一个简单的IoC容器,能够通过注解扫描包并创建对象。该容器支持依赖注入,使用反射机制来创建对象实例和管理它们的生命周期。此外,还实现了一个示例Service类和服务的注册与检索机制。

fix(redoAll): 解决LeetCode题目存在的问题- 修正LeetCode11, 21, 22, 23, 29, 31, 32, 42, 121, 337, 474, 494, 2602题目的解决方案。
- 确保所有新增的测试用例通过验证。

refactor(meituan824): 重构美团秋招题目代码- 重构`meituan824`类,提高解题代码的质量和可读性。
- 修正`mtp1`和`mtp2`方法,使其能够正确解决对应的问题。
2024-08-25 23:45:01 +08:00
kyriewhluo
ffa1d4435b 代码修订与功能更新:
- 新增策略模式示例:在设计模式包中引入策略模式(StrategyPattern),实现支付策略的灵活选择与执行。
- 单例模式示例更新:优化购物车示例,引入线程安全的单例模式实现,并调整类定义与实例化过程。
- 处理线程池执行异常:在ThreadDemo1中处理线程池执行时的异常情况,确保任务异常(如除零错误)时程序的稳定运行。
- 另外,修正了一些代码中的笔误并进行了格式化处理,以保持代码的清晰与规范。
2024-08-23 18:26:39 +08:00
whaifree
8f722ebb0c feat(leetcode): 添加新的算法题目实现
- 实现LeetCode322 题目:零钱兑换。提供了一个Solution类,使用动态规划算法计算最少的硬币数量。
- 实现LeetCode 377 题目:组合总和IV。提供了一个Solution类,使用动态规划算法计算组合的总数。
- 实现LeetCode 快速排序。提供了一个Solution类,包含一个快速排序算法,能够对数组进行排序。各题目实现均通过测试验证。
2024-08-22 00:43:33 +08:00
whaifree
1acabb1909 refactor(redoAll): 优化动态规划实现及新增解决方案
- 重构`LeetCode209`,添加`Solution1`类,采用前缀和与二分搜索的解法。
- 新增`LeetCode279`,提供两种解决方案,包括一维和二维动态规划方法。
- 对`LeetCode713`进行微调,优化注释和代码清晰度。
- 新增`LeetCode1049`,提出两种动态规划解法,包括完全背包和0-1背包实现。
2024-08-20 23:57:37 +08:00
whaifree
f5ac4f8829 feat(interview): 添加面试题和解决方案
- 新增ByteDance类,包含三道面试题的解决方案。
- 在meituan810类中添加了解决方案和相关代码。
- 重构并优化了RateLimitingRequestSplitter类的代码。

fix(threadpool): 修正CvmResetHandler中线程池参数顺序

重新排列CvmResetHandler中线程池执行器的参数,以确保正确分配任务并防止在任务完成前服务中断。

refactor(code): 移除无用的变量和代码段

在多个类中清理无用的变量和未使用的代码段,以提高代码的可读性和维护性。
2024-08-19 00:50:26 +08:00
whaifree
30db149f1a ```添加演示同步方法的用法以防止实例化
新增的syn类演示了同步方法的用法,以防止在多线程环境中实例化。这通过尝试获取对象锁并打印对象引用的getLock方法以及调用wait的printSyn方法进行演示。
```
2024-08-16 00:35:26 +08:00
whaifree
ddcf0f3888 Merge branch 'master' of https://gitee.com/lkwhai/leet-code 2024-08-15 22:28:07 +08:00
kyriewhluo
32a8ad89b9 实现LRU缓存机制以解决LeeCode146问题
实现了一个基于哈希表和双向链表的LRU(最近最少使用)缓存机制。该机制通过在双向链表的尾部添加最近使用的元素,并从头部移除最近最少使用的元素,以维护一个固定大小的缓存。当缓存满时,通过移除头部元素来腾出空间。此实现支持get和put操作,符合LRU缓存策略的要求。
2024-08-15 15:36:08 +08:00