Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修改的题目号为11 #363

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

2023120252
Copy link

学号:2023120252,姓名:席鹏轩
修改思路:
1.修正 nums.length() 为 nums.length,因为数组的长度是通过 .length 属性获取的。
2.在条件判断中使用 && 而不是 &。&& 是逻辑与运算符,& 是位与运算符,在条件判断中应该使用 &&。
3.使用 == 而不是 ===。Java 中的比较操作符是 ==。
4.确保 while 循环中的条件正确,并且在 second 和 third 指针重合时退出循环。
5.在枚举 first 和 second 时,跳过重复的元素以避免重复的三元组。

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