[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-686726-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-686726-en":130,"doc-similar-686726":165},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","lists-topic-12-the-list-adt","Lists - Topic 12 - The List ADT","","Topic 12 introduces the List ADT with clear objectives focused on list processing, ordering techniques, list abstract data type definition, multiple list implementations, and comparative analysis. It explains what a list is and why it is more flexible than stack and queue, emphasizing insertion and removal without restricting operations to one end. The material then distinguishes ordered lists, unordered lists, and indexed lists, detailing how element ordering is determined and how indices affect referencing and updates.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/exam/","Exam",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/lists-topic-12-the-list-adt/686726/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/lists-topic-12-the-list-adt/686726.png","ImageObject",300,407,{"name":42,"@type":43},"anakgang17","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-12-01","2026-11-07",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",7,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"How is a list more flexible than a stack or queue?","Question",{"text":63,"@type":64},"A list is a linear collection where adding and removing elements does not have to occur at only one end. Elements can be inserted and removed in more flexible ways depending on the list type.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"What defines the ordering in an ordered list?",{"text":68,"@type":64},"In an ordered list, elements are ordered according to an inherent characteristic of the elements. The elements themselves determine where they are stored so the ordering is maintained during insertion.",{"name":70,"@type":61,"acceptedAnswer":71},"How do indexed lists reference elements?",{"text":72,"@type":64},"Indexed lists reference elements by their numeric position, called the index. When the list changes, the position (index) of an element may shift, even if its relative placement changes.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},686726,1794062170,{"code":4,"msg":82,"data":83},"success",[84,88,92,95,100,105,109,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":93,"slug":94},70,"exam",{"id":96,"doc_module":4,"doc_module_name":25,"category_name":97,"show_sort_weight":98,"slug":99},5,"Comic",60,"comic",{"id":101,"doc_module":4,"doc_module_name":25,"category_name":102,"show_sort_weight":103,"slug":104},6,"Technology",50,"technology",{"id":55,"doc_module":4,"doc_module_name":25,"category_name":106,"show_sort_weight":107,"slug":108},"Healthcare",40,"healthcare",{"id":110,"doc_module":4,"doc_module_name":25,"category_name":111,"show_sort_weight":112,"slug":113},8,"Research & Report",30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":96,"slug":129},19,"General","general",{"code":4,"msg":82,"data":131},{"doc_id":79,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":33,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":139,"language":140,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":12,"update_tm":80,"read_time":144,"preview_page_count":96,"preview_urls":145},962090883568,"https://ap-avatar.wpscdn.com/davatar_a8503ba1806abce46bf441b54a3ca4cd","Topic 12  \nThe List ADT  \nObjectives  \n• Examine list processing and various ordering techniques  \n• Define a list abstract data type  \n• Examine various list implementations  \n• Compare list implementations  \nLists  \n• A list is a linear collection, like a stack and queue, but more flexible: adding and removing elements from a list does not have to happen at one end or the other  \n• We will examine three types of list collections:  \n• ordered lists  \n• unordered lists  \n• indexed lists  \nOrdered Lists  \n• Ordered list: Its elements are ordered by some inherent characteristic of the elements  \n• Examples:  \n• Names in alphabetical order  \n• Numeric scores in ascending order  \n• So, the elements themselves determine where they are stored in the list  \nConceptual View of an Ordered List  \nfront rear  \nNew values must be inserted so that the ordering of the list is maintained  \nUnordered Lists  \n• Unordered list : the order of the elements in the list is not based on a characteristic of the elements, but is determined by the user of the list  \n• A new element can be put  \n• on the front of the list  \n• or on the rear of the list  \n• or after a particular element already in the list  \n• Examples: shopping list, to-do list,…  \nIndexed Lists  \n• Indexed list: elements are referenced by their numeric position in the list, called its index  \n• It’s the position in the list that is important, and the user can determine the order that the items go in the list  \n• Every time the list changes, the position (index) of an element may change  \n• Example: current first-place holder in the bobsled race  \nConceptual View of an Indexed List  \nfront rear  \n1 2 3 4  \n5  \n6  \nNew values can be inserted at any position in the list  \nList Operations  \n• Operations common to all list types include :  \n• Removing elements in various ways  \n• Checking the status of the list (isEmpty, size )  \n• Iterating through the elements in the list (more on this later!)  \n• The key differences between the list types involve the way elements are added:  \n• To an ordered list?  \n• To an unordered list?  \n• To an indexed list?","cbCaivpNuFvcb4a5","https://ap.wps.com/l/cbCaivpNuFvcb4a5","pdf",68349,42,"English","# Lists\n## Ordered Lists\n## Unordered Lists\n## Indexed Lists\n## List Operations","[{\"question\":\"How is a list more flexible than a stack or queue?\",\"answer\":\"A list is a linear collection where adding and removing elements does not have to occur at only one end. Elements can be inserted and removed in more flexible ways depending on the list type.\"},{\"question\":\"What defines the ordering in an ordered list?\",\"answer\":\"In an ordered list, elements are ordered according to an inherent characteristic of the elements. The elements themselves determine where they are stored so the ordering is maintained during insertion.\"},{\"question\":\"How do indexed lists reference elements?\",\"answer\":\"Indexed lists reference elements by their numeric position, called the index. When the list changes, the position (index) of an element may shift, even if its relative placement changes.\"}]","Lists - Topic 12 - The List ADT | PDF",106,[146,150,154,158,161],{"page_no":22,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/ac9b7b4a569990403a6796a2dc96ad83.webp",983,759,{"page_no":26,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/88ca7d7b97c8b743434d67e17ad80428.webp",982,758,{"page_no":30,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/d82b2d686f80cf84c6761f5edd39ab2f.webp",981,757,{"page_no":33,"url":159,"width":160,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/2b95a089171c0ea57688842c3a778ebe.webp",980,{"page_no":96,"url":162,"width":163,"height":164},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/20b8acbdca31bc38616af37eb6546615.webp",979,756,{"list":166,"token":11},[167,174,180,186,192,198,204,211,217,223],{"doc_id":168,"doc_title":169,"file_type":137,"home_preview_img_url":170,"slug":171,"view_count":172,"category_name":29,"create_tm":173},670586,"CSE1305 Algorithms & Data Structures Resit Analysis Exam - 05 April 2022","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229988344110/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796167619&Signature=7YrUDv60E8%2BrDa8tmiR%2FaXZVUJ0%3D","cse1305-algorithms-data-structures-resit-analysis-exam-05-april-2022",12,1793570149,{"doc_id":175,"doc_title":176,"file_type":137,"home_preview_img_url":177,"slug":178,"view_count":172,"category_name":29,"create_tm":179},686728,"Computer Science Chapter 5 - Class Notes Answers","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000579355/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796167619&Signature=gb9Uz%2Bf9qkqavDjKtPY4PcNmbx8%3D","computer-science-chapter-5-class-notes-answers",1794062173,{"doc_id":181,"doc_title":182,"file_type":137,"home_preview_img_url":183,"slug":184,"view_count":172,"category_name":29,"create_tm":185},461668,"Quiz 02-Practice - COMP 110 Practice Quiz - Spring 2024","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229926083182/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796167619&Signature=AxcM8Pz%2FQaPlZmHkw4FLqsXCSlA%3D","quiz-02-practice-comp-110-practice-quiz-spring-2024",1790762100,{"doc_id":187,"doc_title":188,"file_type":137,"home_preview_img_url":189,"slug":190,"view_count":172,"category_name":29,"create_tm":191},636686,"FIND THE MODE AND RANGE SHEET 4 - Answers","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229970105524/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796167619&Signature=SLutys8%2F%2BodV7toyF1EjHkoueos%3D","find-the-mode-and-range-sheet-4-answers",1792678801,{"doc_id":193,"doc_title":194,"file_type":137,"home_preview_img_url":195,"slug":196,"view_count":123,"category_name":29,"create_tm":197},636689,"Find the Range Sheet 2 - Ordered Set Range Differences","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229970105669/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796167619&Signature=BF7PjlHaSiR%2BNiSPSd7kpZvkN58%3D","find-the-range-sheet-2-ordered-set-range-differences",1792678808,{"doc_id":199,"doc_title":200,"file_type":137,"home_preview_img_url":201,"slug":202,"view_count":33,"category_name":29,"create_tm":203},697940,"Doubly Linked Lists - Part 10 - Doubly Linked Lists and Java Collections","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230010136498/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796167619&Signature=QklRDtxgIIGZmepN7qYzfo8AeMQ%3D","doubly-linked-lists-part-10-doubly-linked-lists-and-java-collections",1794446070,{"doc_id":205,"doc_title":206,"file_type":137,"home_preview_img_url":207,"slug":208,"view_count":209,"category_name":29,"create_tm":210},391428,"20 TCS Interview Questions for Freshers - Technical Round","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229917682051/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796167619&Signature=ZogP7f0DA6Z0En1%2FbPkG%2F2Z0J24%3D","20-tcs-interview-questions-for-freshers-technical-round",28,1790353290,{"doc_id":212,"doc_title":213,"file_type":137,"home_preview_img_url":214,"slug":215,"view_count":115,"category_name":29,"create_tm":216},636682,"Find the Mode - Worksheet 1 - Answers","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229970105318/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796167619&Signature=abLPnmUtFF04uT%2Bku6kXm35820w%3D","find-the-mode-worksheet-1-answers",1792678790,{"doc_id":218,"doc_title":219,"file_type":137,"home_preview_img_url":220,"slug":221,"view_count":123,"category_name":29,"create_tm":222},685729,"Chapter 14 Linked Lists - Chapter 14 - Operations and Implementations of Singly Linked Lists","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000185871/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796167619&Signature=ObNw9ut4EAD7rWxTH2sNrBBoO54%3D","chapter-14-linked-lists-chapter-14-operations-and-implementations-of-singly-linked-lists",1794017196,{"doc_id":224,"doc_title":225,"file_type":137,"home_preview_img_url":226,"slug":227,"view_count":30,"category_name":29,"create_tm":228},697964,"UNIT III - PART-A - Linear Data Structures and ADTs: List, Stack, and Queue","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230010143042/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796167619&Signature=Y%2BYW2p1Er8BW2FxsBPqsFJdn0I8%3D","unit-iii-part-a-linear-data-structures-and-adts-list-stack-and-queue",1794446383]