Skip to content

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