当前位置:网站首页>Day-16 set

Day-16 set

2022-07-07 12:36:00 Xiaobai shelter

1. Array encapsulation
1.1 demand
Array operation , Relatively complex , You can't add or delete , When you need to add and delete, you need to create a new array , Copy the array , Or element shift , More trouble
therefore We encapsulate these add and delete operations
1.2 coded
 Insert picture description here
 Insert picture description here
2. iterator
 Insert picture description here
 Insert picture description here
3.List
3.1
 Insert picture description here
 Insert picture description here
3.2LinkedList

原网站

版权声明
本文为[Xiaobai shelter]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202130617040554.html