[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-732878-105":3,"detail-sidebar-cat-0-en-105":80,"doc-detail-732878-en":130,"doc-similar-732878":198},{"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":73,"head_meta":75,"extra_data":77,"updated_unix":79},105,"en","linked-lists-overview-advantages-and-operations","Linked Lists - Overview - Advantages and Operations","","Linked lists are introduced as a fundamental data structure for storing collections of data, distinguished by node connections via pointers, a terminating NULL reference, and dynamic growth or shrinkage during program execution. The document outlines key properties and provides an example of a single linked list. It then defines linked lists as an ADT, listing main operations such as insert and delete, along with auxiliary operations including delete list, count, and finding an nth node from the end. Finally, it compares linked lists with arrays by explaining constant-time array access and array advantages.",{"@graph":14,"@context":72},[15,34,55],{"@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/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/linked-lists-overview-advantages-and-operations/732878/",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/linked-lists-overview-advantages-and-operations/732878.png","ImageObject",300,407,{"name":42,"@type":43},"Well Done","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-28","2026-11-22",true,{"@type":52,"interactionType":53,"userInteractionCount":33},"InteractionCounter",{"@type":54},"ViewAction",{"@type":56,"mainEntity":57},"FAQPage",[58,64,68],{"name":59,"@type":60,"acceptedAnswer":61},"What properties define a linked list?","Question",{"text":62,"@type":63},"A linked list stores data using nodes connected by pointers, with the last element pointing to NULL. It can grow or shrink during execution and does not waste memory space, though it uses extra memory for pointers.","Answer",{"name":65,"@type":60,"acceptedAnswer":66},"What operations are part of the linked list ADT?",{"text":67,"@type":63},"Main operations include Insert and Delete (remove and return the element at a specified position). Auxiliary operations include Delete List, Count, and finding the nth node from the end of the list.",{"name":69,"@type":60,"acceptedAnswer":70},"Why are arrays often preferred when constant-time access is needed?",{"text":71,"@type":63},"Array elements can be accessed in constant time because the address is computed from the base address using an offset derived from index, element size, and a fixed number of arithmetic steps.","https://schema.org",{"og:url":32,"og:type":74,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":76,"canonical":32},"index,follow",{"doc_id":78,"site_id":7},732878,1795382677,{"code":4,"msg":81,"data":82},"success",[83,87,91,95,100,104,109,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":84,"show_sort_weight":85,"slug":86},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":88,"show_sort_weight":89,"slug":90},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":92,"show_sort_weight":93,"slug":94},"Exam",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":29,"show_sort_weight":102,"slug":103},6,50,"technology",{"id":105,"doc_module":4,"doc_module_name":25,"category_name":106,"show_sort_weight":107,"slug":108},7,"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":81,"data":131},{"doc_id":78,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":101,"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":33,"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":79,"read_time":144,"preview_page_count":145,"preview_urls":146},5909892210082,"https://ap-avatar.wpscdn.com/avatar/56001069da27c9f41e8?x-image-process=image/resize,m_fixed,w_180,h_180&k=1789614185077863061","Linked Lists  \nWhat is a Linked List?  \n• A linked list is a data structure used for storing collections of data.  \n• A linked list has the following properties.  \n– Successive elements are connected by pointers  \n– The last element points to NULL  \n– Can grow or shrink in size during execution of a program  \n– Can be made just as long as required (until systems memory exhausts)  \n– Does not waste memory space (but takes some extra memory for pointers) . It allocates memory as list grows.  \nExample of Single Linked List  \nLinked Lists ADT  \n• The following operations make linked lists an ADT:  \n• Main Linked Lists Operations  \n– Insert: inserts an element into the list  \n– Delete: removes and returns the specified position element from the list  \n• Auxiliary Linked Lists Operations  \n– Delete List: removes all elements of the list (disposes the list)  \n–Count: returns the number of elements in the list  \n– Find nth node from the end of the list  \nWhy Linked Lists?  \n• Both linked lists and arrays are used to store collections of data, and since both are used for the same purpose, we need to differentiate their usage.  \n• That means in which cases arrays are suitable and in which cases linked lists are suitable.  \nArrays Overview  \n• One memory block is allocated for the entire array to hold the elements of the array. The array elements can be accessed in constant time by using the index of the particular element as the subscript.  \nWhy Constant Time for Accessing Array  \nElements?  \n• To access an array element, the address of an element is computed as an offset from the base address of the array and one multiplication is needed to compute what is supposed to be added to the base address to get the memory address of the element. First the size of an element of that data type is calculated and then it is multiplied with the index of the element to get the value to be added to the base address.  \n• This process takes one multiplication and one addition. Since these two operations take constant time, we can say the array access can be performed in constant time.  \nAdvantages of Arrays  \n• Simple and easy to use  \n• Faster access to the elements (constant access)","cbCaigrSrhsDl9Hq","https://ap.wps.com/l/cbCaigrSrhsDl9Hq","pdf",4364064,130,"English","# What is a Linked List?\n## Example of Single Linked List\n# Linked Lists ADT\n## Main Operations\n## Auxiliary Operations\n# Why Linked Lists?\n# Arrays Overview\n## Why Constant Time for Accessing Array Elements?\n# Advantages of Arrays","[{\"question\":\"What properties define a linked list?\",\"answer\":\"A linked list stores data using nodes connected by pointers, with the last element pointing to NULL. It can grow or shrink during execution and does not waste memory space, though it uses extra memory for pointers.\"},{\"question\":\"What operations are part of the linked list ADT?\",\"answer\":\"Main operations include Insert and Delete (remove and return the element at a specified position). Auxiliary operations include Delete List, Count, and finding the nth node from the end of the list.\"},{\"question\":\"Why are arrays often preferred when constant-time access is needed?\",\"answer\":\"Array elements can be accessed in constant time because the address is computed from the base address using an offset derived from index, element size, and a fixed number of arithmetic steps.\"}]","Linked Lists - Overview - Advantages and Operations | PDF",328,13,[147,151,154,158,162,166,169,173,177,181,184,189,194],{"page_no":22,"url":148,"width":149,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/85e782e5616b3dc98569e0e84870fcbe.webp",983,736,{"page_no":26,"url":152,"width":153,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/802d77c14fbfc852f424097630ed72ba.webp",982,{"page_no":30,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/ef9b0a077ed4005928b07522658aec5d.webp",981,735,{"page_no":33,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/4d3f2caba22e4d1fc5a6010fa921c33c.webp",980,734,{"page_no":96,"url":163,"width":164,"height":165},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/85109685644768086b3bedbfa90850d0.webp",979,733,{"page_no":101,"url":167,"width":168,"height":165},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/b295b89aa1ab1f62926a923bcbf5462a.webp",978,{"page_no":105,"url":170,"width":171,"height":172},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/951f1fd0768ebae8f880d8bfd640e18a.webp",977,732,{"page_no":110,"url":174,"width":175,"height":176},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/9bde6bb2759d9647c45491afe34ca865.webp",976,731,{"page_no":115,"url":178,"width":179,"height":180},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/13b9d90dcfb3a2e50138267176fa58f4.webp",975,730,{"page_no":123,"url":182,"width":183,"height":180},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/03cffc81e272c9e152d86685a997a772.webp",974,{"page_no":185,"url":186,"width":187,"height":188},11,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/e4653693a8718bd632e8e17a2337e920.webp",973,729,{"page_no":190,"url":191,"width":192,"height":193},12,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/196bb513827125410f9b3e4f089fc8bc.webp",972,728,{"page_no":145,"url":195,"width":196,"height":197},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/f0ea2563505fb864d56e4a69047e8532.webp",971,727,{"list":199,"token":11},[200,206,212,218,224,230,236,242,248,254],{"doc_id":201,"doc_title":202,"file_type":137,"home_preview_img_url":203,"slug":204,"view_count":96,"category_name":29,"create_tm":205},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=1796111699&Signature=SjPECAii8F7Z43fG38LOTsWIi10%3D","l6b-linked-list-variations-lecture-6b",1794017196,{"doc_id":207,"doc_title":208,"file_type":137,"home_preview_img_url":209,"slug":210,"view_count":30,"category_name":29,"create_tm":211},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=1796111699&Signature=shcPR3FnUa6UPo8oPluLZBsb63U%3D","unit11-linked-lists",1795382671,{"doc_id":213,"doc_title":214,"file_type":137,"home_preview_img_url":215,"slug":216,"view_count":33,"category_name":29,"create_tm":217},732876,"Lecture 10 - Linked Lists - Lecture notes","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230031413512/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111699&Signature=DErbebWn5tIRd36SZ2WxcIscg20%3D","lecture-10-linked-lists-lecture-notes",1795382672,{"doc_id":219,"doc_title":220,"file_type":137,"home_preview_img_url":221,"slug":222,"view_count":96,"category_name":29,"create_tm":223},685741,"ROHINI COLLEGE OF ENGINEERING & TECHNOLOGY - Linked list implementation - Singly linked lists - Core algorithms for traversal, counting, searching and insertion","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000186201/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111699&Signature=GSIEDRqdb%2BtSurRUiT7TPHJ67u4%3D","rohini-college-of-engineering-technology-linked-list-implementation-singly-linked-lists-core-algorithms-for-traversal-counting-searching-and-insertion",1794017223,{"doc_id":225,"doc_title":226,"file_type":137,"home_preview_img_url":227,"slug":228,"view_count":96,"category_name":29,"create_tm":229},685730,"Chapter 4 Linked Lists - 4.1 Singly Linked Lists Or Chains","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000185878/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111699&Signature=Ss939NeLlgJAnoJ%2B48VIQgqU4PE%3D","chapter-4-linked-lists-41-singly-linked-lists-or-chains",1794017203,{"doc_id":231,"doc_title":232,"file_type":137,"home_preview_img_url":233,"slug":234,"view_count":101,"category_name":29,"create_tm":235},685766,"Linked Lists - Fundamentals - Core Concepts and C++ Implementation Notes","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000198068/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111699&Signature=RwF%2Fgfnba4HR7Vzd%2BYxCXCt%2BILM%3D","linked-lists-fundamentals-core-concepts-and-c-implementation-notes",1794017949,{"doc_id":237,"doc_title":238,"file_type":137,"home_preview_img_url":239,"slug":240,"view_count":96,"category_name":29,"create_tm":241},685667,"Implementing Singly Linked List in C++ - struct and pointers","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000175839/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111699&Signature=O%2FAkvM%2BmzZkLLYPkUrwFpXT%2FQKI%3D","implementing-singly-linked-list-in-c-struct-and-pointers",1794016535,{"doc_id":243,"doc_title":244,"file_type":137,"home_preview_img_url":245,"slug":246,"view_count":105,"category_name":29,"create_tm":247},685760,"CS62 Class 8 - Linked lists - Basic Data Structures","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000192614/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111699&Signature=1rcjVsRDOgWaeg3Kb%2F3HcqKMQWE%3D","cs62-class-8-linked-lists-basic-data-structures",1794017629,{"doc_id":249,"doc_title":250,"file_type":137,"home_preview_img_url":251,"slug":252,"view_count":30,"category_name":29,"create_tm":253},732880,"Linked List Basics - Linked List Basics - Insertion, Deletion, Navigation, and Advanced Operations","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230031780344/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111699&Signature=9UZCICUvzV4UT%2BYVdzp%2Fp0fSr7c%3D","linked-list-basics-linked-list-basics-insertion-deletion-navigation-and-advanced-operations",1795382679,{"doc_id":255,"doc_title":256,"file_type":137,"home_preview_img_url":257,"slug":258,"view_count":33,"category_name":29,"create_tm":259},719603,"CS1020 Data Structures and Algorithms I Lecture 10 - List ADT & Linked Lists","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230023815866/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111699&Signature=61fFx77EprM%2FpKdz51M8pA7vDuA%3D","cs1020-data-structures-and-algorithms-i-lecture-10-list-adt-linked-lists",1795006746]