Skip to content

Solution13#415

Open
gx-bit wants to merge 1 commit into
HanchuanXu:mainfrom
gx-bit:main
Open

Solution13#415
gx-bit wants to merge 1 commit into
HanchuanXu:mainfrom
gx-bit:main

Conversation

@gx-bit

@gx-bit gx-bit commented Nov 10, 2025

Copy link
Copy Markdown

2023111827
原代码在排序颜色时存在边界条件处理不当的问题所以使用三指针(荷兰国旗)算法进行原地排序
修复了 sortColors 方法中的逻辑错误
添加了完整的单元测试类 L2023111827_13_Test.java
测试覆盖:正常情况、边界情况、异常情况

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant