[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-detail-685762-en":59,"doc-seo-685762-105":101,"doc-similar-685762":164},{"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":5,"data":60},{"doc_id":61,"user_id":62,"nickname":63,"user_avatar":64,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":66,"doc_content":67,"file_id":68,"file_url":69,"file_type":70,"file_size":71,"view_count":24,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":72,"language":73,"language_code":74,"site_id":75,"html_lang":74,"table_of_contents":76,"faqs":77,"seo_title":78,"seo_description":66,"update_tm":79,"read_time":80,"preview_page_count":24,"preview_urls":81},685762,1099523885336,"Taylor Morgan","https://ap-avatar.wpscdn.com/davatar_276721f389ce27ea32af1340a28f341c","Linked List - Course 13004700 Part-2","Linked List topic covers the core concepts and implementation fundamentals for students learning data structures using C in Part-2 of the course 13004700. It defines a linked list as a linear structure of connected nodes, explains node data and address (pointer) parts, and describes representation and dynamic memory allocation. The content compares linked lists with arrays, focusing on limitations such as fixed size and contiguous storage, then introduces declaration using the struct node example and outlines singly, doubly, circular singly, and circular doubly linked list variants.","Course Name: Bachelor of Computer Applications  \nCourse Code: 13004700 Subject: Data Structures Using C-Part-2  \nLinked List  \nFaculty Name:  \nZaiba Khan  \nAssistant Professor(CSE)  \nSchool of Engineering & Technology  \nObjectives  \n􀁸 To provide the knowledge of fundamental concepts of data structures using the c programming language so that students should get to know that how we are managing various kinds of data in the computer system and how it is accessed in a proper way.  \n􀁸 Understand the use and working of the various data structures.  \n􀁸 Learn to be able to build own algorithms and pseudo codes for the various applications of the basic data structures.  \nLinked list  \n• Linked list is a linear data structure that includes a series of connected nodes.  \n• Linked list can be defined as the nodes that are randomly stored in the memory.  \n• A node in the linked list contains two parts, i.e., first is the data part and second is the address part.  \n• The last node of the list contains a pointer to the null.  \n• After array, linked list is the second most used data structure. In a linked list, every link contains a connection to another link.  \nRepresentation of a Linked list  \n•  \nRepresentation of a Linked list  \n• We have been using array data structure to organize the group of elements that are to be stored individually in the memory.  \n• However, Array has several advantages and disadvantages that must be known to decide the data structure that will be used throughout the program.  \nWhy use linked list over array?  \n• Linked list is a data structure that overcomes the limitations of arrays. Let's first see some of the limitations of arrays-  \n• The size of the array must be known in advance before using it in the program.  \n• Increasing the size of the array is a time taking process. It is almost impossible to expand the size of the array at run time.  \n• All the elements in the array need to be contiguously stored in the memory. Inserting an element in the array needs shifting of all its predecessors.  \n• Linked list is useful because-  \n• It allocates the memory dynamically. All the nodes of the linked list are noncontiguously stored in the memory and linked together with the help of pointers.  \n• In linked list, size is no longer a problem since we do not need to define its size atthe time of declaration. List grows as per the program's demand and limited to the available memory space.  \nHow to declare a linked list?  \n• It is simple to declare an array, as it is of single type, while the declaration of linked list is a bit more typical than array.  \n• Linked list contains two parts, and both are of different types, i.e., one is the simple variable, while another is the pointer variable.  \n• We can declare the linked list by using the user-defined data type structure.  \nThe declaration of linked list is given as follows  \nstruct node { int data;  \nstruct node *next;  \n} We have defined a structure named as node that contains two  \nvariables, one is data that is of integer type, and another one is next that is a pointer which contains the address of next node.  \nTypes of Linked list  \n• Singly-linked list - Singly linked list can be defined as the collection of an ordered set of elements. A node in the singly linked list consists of two parts: data part and link part. Data part of the node stores actual information that is to be represented by the node, while the link part of the node stores the address of its immediate successor.  \n• Doubly linked list-Doubly linked list is a complex type of linked list in which a node contains a pointer to the previous as well asthe next node in the sequence. Therefore, in a doubly-linked list, anode consists of three parts: node data, pointer to the next node in sequence (next pointer), and pointer to the previous node (previous pointer) .  \nTypes of Linked list  \n• Circular singly linked list-In a circular singly linked list, the last node of the list contains a pointer to the fi","cbCain04UnD9AjbT","https://ap.wps.com/l/cbCain04UnD9AjbT","pdf",2427183,47,"English","en",105,"# Linked list\n## Representation of a Linked list\n## Why use linked list over array?\n## How to declare a linked list?\n## Types of Linked list\n## Singly-linked list\n## Doubly linked list\n## Circular singly linked list\n## Circular doubly linked list","[{\"question\":\"What is a linked list and how is it different from an array?\",\"answer\":\"A linked list is a linear data structure made of connected nodes. Unlike arrays, its size can grow dynamically and nodes need not be stored contiguously in memory.\"},{\"question\":\"What are the two parts inside a linked list node?\",\"answer\":\"Each node contains a data part (the stored information) and an address part (a pointer to the next node or to other related nodes).\"},{\"question\":\"What types of linked lists are covered in this material?\",\"answer\":\"The material covers singly linked lists, doubly linked lists, circular singly linked lists, and circular doubly linked lists, including how pointers are arranged in each case.\"}]","Linked List - Course 13004700 Part-2 | PDF",1794017631,118,[82,86,89,94,97],{"page_no":8,"url":83,"width":84,"height":85},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/7cd858de4f71dbaed928788084b8e59a.webp",983,552,{"page_no":14,"url":87,"width":88,"height":85},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/150c309dc7797fc3d361d2a9f80cd976.webp",982,{"page_no":90,"url":91,"width":92,"height":93},3,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/bb32d5851e8991d0275bd253c68e4456.webp",981,551,{"page_no":19,"url":95,"width":96,"height":93},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/5631b96cb1a1fdf549b0db5f96ee3c28.webp",980,{"page_no":24,"url":98,"width":99,"height":100},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/eded3a920ee2af290842d010a1b32645.webp",979,550,{"code":4,"msg":102,"data":103},"ok",{"site_id":75,"language":74,"slug":104,"title":65,"keywords":105,"description":66,"schema_data":106,"social_meta":159,"head_meta":161,"extra_data":163,"updated_unix":79},"linked-list-course-13004700-part-2","",{"@graph":107,"@context":158},[108,121,141],{"@type":109,"itemListElement":110},"BreadcrumbList",[111,115,117,119],{"item":112,"name":113,"@type":114,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":116,"name":9,"@type":114,"position":14},"https://docshare.wps.com/document/",{"item":118,"name":30,"@type":114,"position":90},"https://docshare.wps.com/document/technology/",{"item":120,"name":65,"@type":114,"position":19},"https://docshare.wps.com/document/linked-list-course-13004700-part-2/685762/",{"url":120,"name":65,"@type":122,"image":123,"author":128,"headline":65,"publisher":130,"fileFormat":133,"inLanguage":74,"description":66,"dateModified":134,"datePublished":135,"encodingFormat":133,"isAccessibleForFree":136,"interactionStatistic":137},"DigitalDocument",{"url":124,"@type":125,"width":126,"height":127},"https://docshare.wps.com/thumbnails/linked-list-course-13004700-part-2/685762.png","ImageObject",300,407,{"name":63,"@type":129},"Person",{"url":112,"name":131,"@type":132},"DocShare","Organization","application/pdf","2026-11-15","2026-11-07",true,{"@type":138,"interactionType":139,"userInteractionCount":24},"InteractionCounter",{"@type":140},"ViewAction",{"@type":142,"mainEntity":143},"FAQPage",[144,150,154],{"name":145,"@type":146,"acceptedAnswer":147},"What is a linked list and how is it different from an array?","Question",{"text":148,"@type":149},"A linked list is a linear data structure made of connected nodes. Unlike arrays, its size can grow dynamically and nodes need not be stored contiguously in memory.","Answer",{"name":151,"@type":146,"acceptedAnswer":152},"What are the two parts inside a linked list node?",{"text":153,"@type":149},"Each node contains a data part (the stored information) and an address part (a pointer to the next node or to other related nodes).",{"name":155,"@type":146,"acceptedAnswer":156},"What types of linked lists are covered in this material?",{"text":157,"@type":149},"The material covers singly linked lists, doubly linked lists, circular singly linked lists, and circular doubly linked lists, including how pointers are arranged in each case.","https://schema.org",{"og:url":120,"og:type":160,"og:title":65,"og:site_name":131,"og:description":66},"article",{"robots":162,"canonical":120},"index,follow",{"doc_id":61,"site_id":75},{"list":165,"token":105},[166,172,178,184,190,196,201,207,213,219],{"doc_id":167,"doc_title":168,"file_type":70,"home_preview_img_url":169,"slug":170,"view_count":34,"category_name":30,"create_tm":171},685731,"Lecture Five - Linked List Structure","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229999689386/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111819&Signature=IYmG4B%2BW%2FK9TAqlEQDZiPDYOkY4%3D","lecture-five-linked-list-structure",1794017204,{"doc_id":173,"doc_title":174,"file_type":70,"home_preview_img_url":175,"slug":176,"view_count":24,"category_name":30,"create_tm":177},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=1796111819&Signature=sxGYa7E3y8QDfiaiGAFYt%2FNoV7g%3D","l6b-linked-list-variations-lecture-6b",1794017196,{"doc_id":179,"doc_title":180,"file_type":70,"home_preview_img_url":181,"slug":182,"view_count":90,"category_name":30,"create_tm":183},732873,"Singly Linked Lists in C - Introduction and Traversal Example","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230031413508/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111819&Signature=JyySSDZSDuYZcnJaMfHi1nVhJM0%3D","singly-linked-lists-in-c-introduction-and-traversal-example",1795382670,{"doc_id":185,"doc_title":186,"file_type":70,"home_preview_img_url":187,"slug":188,"view_count":24,"category_name":30,"create_tm":189},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=1796111819&Signature=RQrYr%2BtAgslXY4IB%2BqgYSDhDCqc%3D","implementing-singly-linked-list-in-c-struct-and-pointers",1794016535,{"doc_id":191,"doc_title":192,"file_type":70,"home_preview_img_url":193,"slug":194,"view_count":24,"category_name":30,"create_tm":195},685716,"Linked Lists - Introduction - Properties, Advantages, Disadvantages, and Types","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229999688533/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111819&Signature=EnuEiYkKnlP6AFTvE5iXRkivybc%3D","linked-lists-introduction-properties-advantages-disadvantages-and-types",1794016969,{"doc_id":197,"doc_title":198,"file_type":70,"home_preview_img_url":199,"slug":200,"view_count":19,"category_name":30,"create_tm":177},685727,"Circular Linked Lists - All Operations and Complexity Analysis","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000185859/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111819&Signature=sg3haERgtkpozaR5KALPE6cfZAw%3D","circular-linked-lists-all-operations-and-complexity-analysis",{"doc_id":202,"doc_title":203,"file_type":70,"home_preview_img_url":204,"slug":205,"view_count":19,"category_name":30,"create_tm":206},685767,"Implementation of Linked List - Lecture 7 - In C++","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000198089/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111819&Signature=xIhtWjQLh9tW3MF%2FsyplUr1xCiM%3D","implementation-of-linked-list-lecture-7-in-c",1794017950,{"doc_id":208,"doc_title":209,"file_type":70,"home_preview_img_url":210,"slug":211,"view_count":90,"category_name":30,"create_tm":212},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=1796111819&Signature=6IG%2Fzo%2BA4ieEOpJoB3kHg8ljDm4%3D","unit11-linked-lists",1795382671,{"doc_id":214,"doc_title":215,"file_type":70,"home_preview_img_url":216,"slug":217,"view_count":34,"category_name":30,"create_tm":218},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=1796111819&Signature=M7DdNFpw5b6Oe3RKDmCkPR0p1Fo%3D","cs62-class-8-linked-lists-basic-data-structures",1794017629,{"doc_id":220,"doc_title":221,"file_type":70,"home_preview_img_url":222,"slug":223,"view_count":24,"category_name":30,"create_tm":224},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=1796111819&Signature=wuV%2Bbq2nC6cgw%2FFcjztE%2FJlk8l4%3D","sequences-representing-sequences-by-arrays-and-linked-lists",1794016978]