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

数组和链表细节优化 #519

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

processisanswer
Copy link

No description provided.

举例:1->1->1->1 或者1->1->1->2->3->1类似数据组织形式,删除指定value=1时,可能获取不到合理结果。
GenericArray<Integer> intArr = new GenericArray<>();
intArr.removeFirst();//或者intArr.removeLast();
未添加元素,直接删除头部或尾部元素时,合理的异常应该为IndexOutOfBoundsException,不过原程序已经考虑的很周到了
@bghfcd19900
Copy link

bghfcd19900 commented Feb 13, 2022 via email

@JiYu77
Copy link

JiYu77 commented May 18, 2022

busbus

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.

3 participants