|
cec43302c8
|
feat(SpringDemo): 添加订单相关实体类和 Mapper
- 新增 Orders 实体类,用于订单相关操作
- 添加 OrdersMapper 接口和对应的 XML 文件,实现订单数据的持久化
- 创建 OrdersService 接口和 OrdersServiceImpl 实现类,提供订单业务逻辑支持- 在 pom.xml 中添加 packaging标签,指定项目打包方式为 pom
|
2024-11-02 13:09:33 +08:00 |
|
|
2b497eafb4
|
refactor(SpringCloud): 重构 Nacos 配置并添加限流功能
- 更新 ServiceA 和 ServiceB 的 application.yaml 文件,调整 Nacos 配置
- 在 ServiceB 中添加基于 Nacos 配置的动态限流功能
- 更新 DynamicThreadPoolController 中的线程池初始化逻辑
- 移除 SpringDemo 中的 MyBatis相关配置
- 更新项目依赖版本:
- Spring Cloud 版本:2023.0.3
- Lombok版本:1.18.30
- MyBatis-Plus 版本:3.5.9
- MyBatis-Plus3 版本:3.5.9
- Spring Boot 版本:3.1.5
- Java版本:17
- Maven 版本:3.8.6
|
2024-11-02 13:06:38 +08:00 |
|
|
b6e5672f09
|
feat(leetcode): 添加多个 leetcode 问题的解决方案
- 新增了多个 leetcode 问题的 Java 解决方案,包括:
- 问题 16: 最接近的三数之和
- 问题 43: 字符串相乘
- 问题 148: 排序链表
- 问题274: H 指数
- 问题 322: 零钱兑换
- 问题 377: 组合总和Ⅳ
- 问题474: 一和零
- 问题 740: 删除并获得最大点数
- 更新了部分现有代码文件,优化了结构和注释
Default Changelist
.gitignore
AbstractClass.java
AbstractFactoryPattern.java
application.yaml
AProviderController.java
AService.java
BProviderController.java
BroomFilter.java
BService.java
CacheComparatorDemo.java
CacheConfig.java
CacheConstants.java
CacheDecoratorController.java
DynamicThreadPoolController.java
EventController.java
FactoryAndStrategy.java
FilterConfig.java
GlobalExceptionHandler.java
HttpStatus.java
IdempotenceController.java
LeetCode002.java
LeetCode16.java
LeetCode33.java
LeetCode43.java
LeetCode84.java
LeetCode148.java
LeetCode274.java
LeetCode322.java
LeetCode377.java
LeetCode474.java
LeetCode740.java
LimitType.java
ListNode.java
LoadBalanceConfig.java
MinioController.java
mvnw
mvnw.cmd
MyAutoConfiguration.java
P1.java
PersonProtocol.proto
pom.xml
protocolDemo.java
RabbitMQController.java
RateLimitAspect.java
RateLimiter.java
RedEnvelopeController.java
RedisConfig.java
RedisDataTest.java
redisson.yaml
RedissonConfig.java
RestConfig.java
ResVo.java
RobEnvelope.lua
SelfFilter.java
spring.factories
SpringDemoApplication.java
SpringDemoApplicationTests.java
SSEEmitter.java
TestController.java
UserService.java
WhiteListController.java
WxQrLoginController.java
工厂模式的几种类型,简单工厂、工厂方法、抽象工厂.md
Unversioned Files
D:\project\LeetCode\SpringCloud\ServiceA\src\main\resources\application.yaml
D:\project\LeetCode\SpringCloud\ServiceB\src\main\resources\application.yaml
D:\project\LeetCode\SpringCloud\ServiceA\pom.xml
D:\project\LeetCode\SpringCloud\ServiceB\pom.xml
D:\project\LeetCode\SpringCloud\pom.xml
D:\project\LeetCode\SpringCloud\ServiceA\src\main\java\com\whai\springcloud\servicea\ServiceAApplication.java
D:\project\LeetCode\SpringCloud\ServiceA\src\test\java\com\whai\springcloud\servicea\ServiceAApplicationTests.java
D:\project\LeetCode\SpringCloud\ServiceB\src\main\java\com\whai\springcloud\serviceb\ServiceBApplication.java
D:\project\LeetCode\SpringCloud\ServiceB\src\test\java\com\whai\springcloud\serviceb\ServiceBApplicationTests.java
D:\project\LeetCode\SpringCloud\ServiceA\src\test\java\com\whai\springcloud\springcloud\SpringCloudApplicationTests.java
D:\project\LeetCode\SpringCloud\ServiceB\src\test\java\com\whai\springcloud\springcloud\SpringCloudApplicationTests.java
|
2024-10-31 11:27:58 +08:00 |
|
|
7ea67e280f
|
修改LeetCode目录结构,不分类
|
2024-10-28 14:49:49 +08:00 |
|
|
aee514923d
|
修改LeetCode目录结构,不分类
|
2024-10-28 14:47:24 +08:00 |
|
|
25f4784daa
|
feat(springDemo): 添加 Server-Sent Events (SSE) 功能和代理演示
- 新增 SSEEmitter 类实现 Server-Sent Events功能
- 添加 ProxyDemo 类演示动态代理
- 更新 UserService 类,增加 Bean 生命周期相关注释
- 调整 application.yaml 文件格式
|
2024-10-22 23:23:03 +08:00 |
|
|
72843c9027
|
feat(redo): 添加新的练习代码和解决方案
- 新增 LeetCode 69、135、376、763题目的解决方案
- 添加面试题练习代码
- 新建 SQL 查询练习题 stu,列 name, score, course,查询每一科分数大于 60 的学生姓名
|
2024-10-22 19:38:49 +08:00 |
|
|
d9e64a81a6
|
feat(学习): 添加多线程、设计模式和LeetCode相关代码
- 新增 AbstractClass、Singleton 和 staticClass 类
- 添加 LeetCode3、LeetCode5、LeetCode20 等多个算法题解
- 新增 RedisDataTest 类,增加 Redis 地理位置相关测试
- 添加 SQL相关文件,包括学生表创建和查询、临时表使用等- 修改 ChainPattern、FunctionInterfaceDemo 和 FutureRelative 类
|
2024-10-21 23:06:26 +08:00 |
|
|
1f2ef13c86
|
重构项目结构并添加新功能- 重命名多个文件和包,优化项目结构
- 新增SeleniumDemo模块,实现自动化测试功能
- 添加CopyAndWriteDemo和ExceptionDemo类,演示数据结构和异常处理
- 新增JUnitDemo类,准备添加单元测试- 实现Kama99_2类,解决特定算法问题- 添加MaiGuPiao类,包含多种股票买卖策略实现- 新增OOMTest类,模拟和测试内存溢出情况
AffinityThreadPoolTest.java
Alternate_printing.java
App.java
AppTest.java
chromedriver.exe
CopyAndWriteDemo.java
ExceptionDemo.java
FirstSeleniumDemo.java
FutureRelative.java
JUnitDemo.java
Kama99_2.java
MaiGuPiao.java
OOMTest.java
OOMTest.java
p1.java
pom.xml
pom.xml
QueryTask.java
SeleniumUtils.java
SelfDefiniteThreadPool.java
TestIntAndInteger.java
ThreadConnect.java
ThreadPoolInitSize.java
UserService.java
|
2024-10-19 23:18:38 +08:00 |
|
|
e6d23febec
|
新增Kama99和LeetCode797两个图形算法题解
- 添加Kama99类,实现了一个算法来计算二维数组中岛屿的数量
- 添加LeetCode797类,实现了寻找所有从源到目标的路径的算法
- 新增p1类,用于解决特定的字符串问题
- 在TestCacheThreadPool中添加了非公平锁的示例代码
- 在ThreadDemo1中添加了广度优先搜索的实现
|
2024-10-17 23:22:31 +08:00 |
|
|
3557e7b1c2
|
新增RabbitMQ相关配置和功能,添加微信登录和图片处理接口
- 新增RabbitMQ配置类和消息监听器
- 实现微信扫码登录功能
- 添加图片上传和处理接口,支持外网图片转存
- 优化过滤器类,移除多余日志
- 新增白名单查询接口
|
2024-10-16 21:23:25 +08:00 |
|
|
50fb21b795
|
feat(LeetCode117): 添加LeetCode117题解
feat(LeetCode129): 添加LeetCode129题解
二叉树
|
2024-10-15 13:42:31 +08:00 |
|
|
2036bf9ba2
|
添加泛型方法和并发编程相关代码
- 在`User`类中添加了泛型方法`test`
- 新增`FanXin`类包含并发安全的`openLogicFilter`方法
- 添加了`LeetCode47`到`LeetCode501`等新类和测试方法
- 在`p1`类中添加了处理数组和字符串的静态方法
- 更新了`TestController`类,添加了事务注解
- 新增了`beibao01`到`LeetCode84_1`等类和方法
- 添加了`RedisDataTest`类用于测试Redis的Hyperloglog和Bitmap数据结构
Default Changelist
fx.java
LeetCode47.java
LeetCode468.java
LeetCode491.java
LeetCode501.java
p1.java
TestController.java
Unversioned Files
D:\project\LeetCode\springDemo\.gitignore
D:\project\LeetCode\ForJdk17\src\main\java\cn\whaifree\redo\redo_all_240924\beibao01.java
D:\project\LeetCode\ForJdk17\src\main\java\cn\whaifree\redo\redo_all_240924\LeetCode11_2.java
D:\project\LeetCode\ForJdk17\src\main\java\cn\whaifree\redo\redo_all_240924\LeetCode51.java
D:\project\LeetCode\ForJdk17\src\main\java\cn\whaifree\redo\redo_all_240924\LeetCode84_1.java
D:\project\LeetCode\springDemo\mvnw
D:\project\LeetCode\springDemo\mvnw.cmd
D:\project\LeetCode\springDemo\src\test\java\cn\whaifree\springdemo\RedisData\RedisDataTest.java
|
2024-10-14 23:03:57 +08:00 |
|
|
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 |
|