[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-685800-105":59,"doc-detail-685800-en":130,"doc-similar-685800":160},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","data-structures-cs-225-array-lists","Data Structures - CS 225 Array Lists","","Course slides for CS 225 focus on implementing list data structures using linked lists and array lists. The material compares runtimes for operations such as insert and delete, discusses how a linked list’s head reference differs from array-based storage, and explains the three key parameters for efficient array usage: start location, current item count, and maximum capacity. It also covers vector-like implementation details and pointer-based representation of data_, size_, and capacity_, including the amortized analysis motivation and how to detect capacity boundaries.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/data-structures-cs-225-array-lists/685800/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/data-structures-cs-225-array-lists/685800.png","ImageObject",300,407,{"name":92,"@type":93},"eBook King","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-12","2026-11-07",true,{"@type":102,"interactionType":103,"userInteractionCount":19},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What are the learning objectives for the array list topic in these CS 225 slides?","Question",{"text":112,"@type":113},"The slides aim to discuss data variables for implementing array lists, review array list implementations, cover amortized analysis, and consider possible extensions to lists.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"How is a linked list represented and what is the role of the head?",{"text":117,"@type":113},"A linked list is described with a head reference, and the slides summarize how insert and delete costs differ compared with array-based implementations.",{"name":119,"@type":110,"acceptedAnswer":120},"How does an array list manage memory and detect when it is full?",{"text":121,"@type":113},"The slides state that an array is continuous memory and uses three values—start location, current item count (size), and maximum capacity. Capacity is reached when size == capacity, and the internal pointers data_, size_, and capacity_ track these values.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},685800,1794018696,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":19,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":129,"read_time":144,"preview_page_count":19,"preview_urls":145},962088006270,"https://ap-avatar.wpscdn.com/davatar_085a072bc5b1113ac321206ff7593b45","|  |  |\n| --- | --- |\n\nData Structures  \nArray Lists  \nCS 225 September 4, 2026  \nBrad Solomon  \nDepartment of Computer Science  \n|  |  |\n| --- | --- |\n\nCourse Policy Reminders  \nPlease use the extension request form Please email CS 225 admin  \n\n|  |  |\n| --- | --- |\n\nPost your art on \\#mp-art!  \n|  |  |\n| --- | --- |\n\nLearning Objectives  \nDiscuss data variables for implementing array lists Review array list implementations  \nDiscuss amortized analysis  \nConsider extensions to lists  \n\n|  |  |\n| --- | --- |\n\nList Implementations 1. Linked List  \nhead  \n| C | |\n| --- | --- |\n\n| S | |\n| --- | --- |\n\n| 2 | |\n| --- | --- |\n\n| 2 | |\n| --- | --- |\n\n| 5 | |\n| --- | --- |\n\nNone  \n2. Array List  \n\n| C | S | 2 | 2 | 5 |  |  |  |  |  |\n| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |\n\n\n|  |  |\n| --- | --- |\n\nLinked List Runtimes  \nhead  \n| C | |\n| --- | --- |\n\n| S | |\n| --- | --- |\n\n| 2 | |\n| --- | --- |\n\n| 2 | |\n| --- | --- |\n\n| 5 | |\n| --- | --- |\n\nNone  \nInsert  \nDelete  \n@Front  \nO(1)  \nO(1)  \n@RefPointer @Index  \nO(1)  \nO(1)  \nO(n)  \nO(n)  \n\n|  |  |\n| --- | --- |\n\nArray List  \n\n|  |  |  |  |  |  |  |\n| --- | --- | --- | --- | --- | --- | --- |\n\nAn array is allocated as continuous memory.  \nThree values are necessary for eﬃcient array usage:  \n1) The start location of the array  \n2) The number of items currently stored in the array  \n3) The maximum capacity of the array  \n\n|  |  |\n| --- | --- |\n\nArray List  \n\n| A | B | C | D | E |  |  |  |\n| --- | --- | --- | --- | --- | --- | --- | --- |\n\ndata_ size_ capacity_  \nIn C++, vector is implemented as:  \n1) Data: Stored as a pointer to array start  \n2) Size: Stored as a pointer to the next available space  \n3) Capacity: Stored as a pointer past the end of the array  \n\n|  |  |\n| --- | --- |\n\nList. h  \n\n| 1\u003Cbr>2 3\u003Cbr>4 5\u003Cbr>…\u003Cbr>25\u003Cbr>26\u003Cbr>27\u003Cbr>28\u003Cbr>29\u003Cbr>30\u003Cbr>… | \\#pragma once\u003Cbr>template \u003Ctypename T> class List {\u003Cbr>public:/* --- */\u003Cbr>private: T *data_ ;\u003Cbr>T *size_ ;\u003Cbr>T *capacity_ ;\u003Cbr>/* --- */}; |\n| --- | --- |\n\n\n| A | B | C |  |  |  |\n| --- | --- | --- | --- | --- | --- |\n\ndata_ size_  \nIf I want to know the number of items in the array: size  -data   \n\n|  |  |\n| --- | --- |\n\nList. h  \n\n| 1\u003Cbr>2 3\u003Cbr>4 5\u003Cbr>…\u003Cbr>25\u003Cbr>26\u003Cbr>27\u003Cbr>28\u003Cbr>29\u003Cbr>30\u003Cbr>… | \\#pragma once\u003Cbr>template \u003Ctypename T> class List {\u003Cbr>public:/* --- */\u003Cbr>private: T *data_ ;\u003Cbr>T *size_ ;\u003Cbr>T *capacity_ ;\u003Cbr>/* --- */}; |\n| --- | --- |\n\n\n| A | B | C | D | E | F |\n| --- | --- | --- | --- | --- | --- |\n\ncapacity_  \nsize_  \nHow do I know if I’m at capacity? size  == capacity","cbCaibj4YJiPnkdu","https://ap.wps.com/l/cbCaibj4YJiPnkdu","pdf",4087069,35,"English","# Learning Objectives\n# List Implementations\n## Linked List\n## Array List\n# Linked List Runtimes\n# Array List Implementation Concepts","[{\"question\":\"What are the learning objectives for the array list topic in these CS 225 slides?\",\"answer\":\"The slides aim to discuss data variables for implementing array lists, review array list implementations, cover amortized analysis, and consider possible extensions to lists.\"},{\"question\":\"How is a linked list represented and what is the role of the head?\",\"answer\":\"A linked list is described with a head reference, and the slides summarize how insert and delete costs differ compared with array-based implementations.\"},{\"question\":\"How does an array list manage memory and detect when it is full?\",\"answer\":\"The slides state that an array is continuous memory and uses three values—start location, current item count (size), and maximum capacity. Capacity is reached when size == capacity, and the internal pointers data_, size_, and capacity_ track these values.\"}]","Data Structures - CS 225 Array Lists | PDF",88,[146,150,153,157],{"page_no":8,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/23e83fffc73c7c45cdbc8dde00acc191.webp",983,552,{"page_no":14,"url":151,"width":152,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/d993bd283a60227f0cfabc222f456892.webp",982,{"page_no":81,"url":154,"width":155,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/b5ed7a19a90ab31e2563fda6bfb919c9.webp",981,551,{"page_no":19,"url":158,"width":159,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/f3d02a88e52609865aa51ce1d9701386.webp",980,{"list":161,"token":66},[162,168,174,180,186,192,198,204,210,216],{"doc_id":163,"doc_title":164,"file_type":137,"home_preview_img_url":165,"slug":166,"view_count":19,"category_name":30,"create_tm":167},732878,"Linked Lists - Overview - Advantages and Operations","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230031780342/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796114279&Signature=EztYw9dEmJ4BE3H9qFZqzif%2Bcs8%3D","linked-lists-overview-advantages-and-operations",1795382677,{"doc_id":169,"doc_title":170,"file_type":137,"home_preview_img_url":171,"slug":172,"view_count":19,"category_name":30,"create_tm":173},698711,"Data Structures and Algorithms - Skip List - Capstone probability lectures","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230010411866/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796114279&Signature=TnnsZSeKYc67swS5whRjh8mROWM%3D","data-structures-and-algorithms-skip-list-capstone-probability-lectures",1794454964,{"doc_id":175,"doc_title":176,"file_type":137,"home_preview_img_url":177,"slug":178,"view_count":29,"category_name":30,"create_tm":179},685764,"Lists and Linked Lists - Part 1 - Introduction","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229999691137/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796114279&Signature=tY2rnvCBRVGm3jxd%2FYhr9bs7FbU%3D","lists-and-linked-lists-part-1-introduction",1794017635,{"doc_id":181,"doc_title":182,"file_type":137,"home_preview_img_url":183,"slug":184,"view_count":24,"category_name":30,"create_tm":185},685721,"Sequences - Representing Sequences by Arrays and Linked Lists","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229999688553/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796114279&Signature=EMfjR27oeEUu8bq%2B4fgG8m4jtLs%3D","sequences-representing-sequences-by-arrays-and-linked-lists",1794016978,{"doc_id":187,"doc_title":188,"file_type":137,"home_preview_img_url":189,"slug":190,"view_count":81,"category_name":30,"create_tm":191},732881,"CS 15 - LinkedLists Lab","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230031413517/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796114279&Signature=1ecH3Lpn088ustk358zjJGAlBGI%3D","cs-15-linkedlists-lab",1795382679,{"doc_id":193,"doc_title":194,"file_type":137,"home_preview_img_url":195,"slug":196,"view_count":81,"category_name":30,"create_tm":197},732874,"Unit11-Linked Lists","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230031780339/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796114279&Signature=9sDCt18pwD3jYOXivhlejE5dJnM%3D","unit11-linked-lists",1795382671,{"doc_id":199,"doc_title":200,"file_type":137,"home_preview_img_url":201,"slug":202,"view_count":81,"category_name":30,"create_tm":203},719599,"Introduction to Linked Lists - Part 15-121","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230023815569/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796114279&Signature=Ac8buAgCl7YKMhsTJQiC4ERJhGA%3D","introduction-to-linked-lists-part-15-121",1795006735,{"doc_id":205,"doc_title":206,"file_type":137,"home_preview_img_url":207,"slug":208,"view_count":81,"category_name":30,"create_tm":209},685724,"LINKED LISTS - Chapter 3 - overview","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000182527/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796114279&Signature=kMZo8JuxEshdsLqri1pMukN%2Bd7s%3D","linked-lists-chapter-3-overview",1794016986,{"doc_id":211,"doc_title":212,"file_type":137,"home_preview_img_url":213,"slug":214,"view_count":19,"category_name":30,"create_tm":215},685792,"Array Implementation of List - Array Operations (Create, Insert, Delete, Display, Search)","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000212417/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796114279&Signature=N1dC9MgpuDQWhcTVSgrYNVC6nnE%3D","array-implementation-of-list-array-operations-create-insert-delete-display-search",1794018669,{"doc_id":217,"doc_title":218,"file_type":137,"home_preview_img_url":219,"slug":220,"view_count":24,"category_name":30,"create_tm":221},685726,"L6b - Linked List Variations - Lecture 6b","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000185855/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796114279&Signature=qNJxrm%2F%2FKGduyDCXJtJzG5iDvf8%3D","l6b-linked-list-variations-lecture-6b",1794017196]