[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-697969-105":3,"detail-sidebar-cat-0-en-105":80,"doc-detail-697969-en":130,"doc-similar-697969":264},{"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","unit-i-introduction-to-data-structures-abstract-data-types-linear-lists-stacks-queues","UNIT- I - Introduction to Data Structures - Abstract Data Types, Linear Lists, Stacks, Queues","","UNIT- I provides an introductory foundation for data structures in computer science, explaining what data structures are and why they matter for efficient storage, organization, and fast retrieval. It covers abstract data types and basic terminology such as data, record, file, entity, attribute, and field. The unit also motivates the need for data structures using challenges in processing large datasets, searching, and handling multiple simultaneous requests. It further introduces linear data structures, with arrays and linked lists as key examples, and outlines stack and queue concepts and operations.",{"@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/exam/","Exam",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/unit-i-introduction-to-data-structures-abstract-data-types-linear-lists-stacks-queues/697969/",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/unit-i-introduction-to-data-structures-abstract-data-types-linear-lists-stacks-queues/697969.png","ImageObject",300,407,{"name":42,"@type":43},"Olivia Brown","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-16","2026-11-12",true,{"@type":52,"interactionType":53,"userInteractionCount":30},"InteractionCounter",{"@type":54},"ViewAction",{"@type":56,"mainEntity":57},"FAQPage",[58,64,68],{"name":59,"@type":60,"acceptedAnswer":61},"What is a data structure and where is it used?","Question",{"text":62,"@type":63},"A data structure is a group of data elements that stores and organizes data efficiently so it can be used effectively in computer science tasks. It is widely used in areas such as operating systems, compiler design, artificial intelligence, and graphics.","Answer",{"name":65,"@type":60,"acceptedAnswer":66},"What basic terms are defined in the unit (data, record, file, entity, field)?",{"text":67,"@type":63},"The unit defines data as elementary values or collections, group items as data containing subordinate items, records as collections of various data items, and files as collections of records of one entity type. It also defines entities with attributes and fields as single units representing attribute information.",{"name":69,"@type":60,"acceptedAnswer":70},"Why are data structures needed as applications grow?",{"text":71,"@type":63},"Data structures are needed to address problems caused by increasing data size and application complexity. They help with high-speed handling of large data, reduce slow search by avoiding unnecessary traversal, and improve reliability under multiple simultaneous requests.","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},697969,1794446543,{"code":4,"msg":81,"data":82},"success",[83,87,91,94,99,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":29,"show_sort_weight":92,"slug":93},70,"exam",{"id":95,"doc_module":4,"doc_module_name":25,"category_name":96,"show_sort_weight":97,"slug":98},5,"Comic",60,"comic",{"id":100,"doc_module":4,"doc_module_name":25,"category_name":101,"show_sort_weight":102,"slug":103},6,"Technology",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":95,"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":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":30,"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},16904993612988,"https://ap-avatar.wpscdn.com/davatar_a8503ba1806abce46bf441b54a3ca4cd","UNIT- I  \nIntroduction to Data Structures, abstract data types, Linear list – singly linked list implementation, insertion, deletion and searching operations on linear list, StacksOperations, array and linked representations of stacks, stack applications, Queuesoperations, array and linked representations.  \nData Structure  \nIntroduction  \nData Structure can be defined as the group of data elements which provides an efficient way of storing and organizing data in the computer so that it can be used efficiently. Some examples of Data Structures are arrays, Linked List, Stack, Queue, etc. Data Structures are widely used in almost every aspect of Computer Science i.e. Operating System, Compiler Design, Artificial intelligence, Graphics and many more.  \nData Structures are the main part of many computer science algorithms as they enable the programmers to handle the data in an efficient way. It plays a vital role in enhancing the performance of a software or a program as the main function of the software is to store and retrieve the user's data as fast as possible.  \nBasic Terminology  \nData structures are the building blocks of any program or the software. Choosing the appropriate data structure for a program is the most difficult task for a programmer. Following terminology is used as far as data structures are concerned.  \nData: Data can be defined as an elementary value or the collection of values, for example, student's name and its id are the data about the student.  \nGroup Items: Data items which have subordinate data items are called Group item, for example, name of a student can have first name and the last name.  \nRecord: Record can be defined as the collection of various data items, for example, if we talk about the student entity, then its name, address, course and marks can be grouped together to form the record for the student.  \nFile: A File is a collection of various records of one type of entity, for example, if there are 60 employees in the class, then there will be 20 records in the related file where each record contains the data about each employee.  \nAttribute and Entity: An entity represents the class of certain objects. it contains various attributes. Each attribute represents the particular property of that entity.  \nField: Field is a single elementary unit of information representing the attribute of an entity.  \nNeed of Data Structures  \nAs applications are getting complex and amount of data is increasing day by day, there may arise the following problems:  \nProcessor speed: To handle very large amount of data, high speed processing is required, but asthe data is growing day by day to the billions of files per entity, processor may fail to deal with that much amount of data.  \nData Search: Consider an inventory size of 106 items in a store, If our application needs to search for a particular item, it needs to traverse 106 items every time, results in slowing down the search process.  \nMultiple requests: If thousands of users are searching the data simultaneously on a web server, then there are the chances that a very large server can be failed during that process  \nin order to solve the above problems, data structures are used. Data is organized to form a data structure in such a way that all items are not required to be searched and required data can be searched instantly.  \nAdvantages of Data Structures  \nEfficiency: Efficiency of a program depends upon the choice of data structures. For example: suppose, we have some data and we need to perform the search for a particular record. In that case, if we organize our data in an array, we will have to search sequentially element by element. hence, using array may not be very efficient here. There are better data structures which can make the search process efficient like ordered array, binary search tree or hash tables.  \nReusability: Data structures are reusable, i.e. once we have implemented a particular data structure, we can use it at any other place. I","cbCailXxEEnofbxJ","https://ap.wps.com/l/cbCailXxEEnofbxJ","pdf",8835269,259,"English","# Data Structure\n## Introduction\n## Basic Terminology\n## Need of Data Structures\n## Advantages of Data Structures\n## Data Structure Classification\n### Linear Data Structures\n### Example: Arrays\n### Example: Linked List\n### Stack\n### Queue","[{\"question\":\"What is a data structure and where is it used?\",\"answer\":\"A data structure is a group of data elements that stores and organizes data efficiently so it can be used effectively in computer science tasks. It is widely used in areas such as operating systems, compiler design, artificial intelligence, and graphics.\"},{\"question\":\"What basic terms are defined in the unit (data, record, file, entity, field)?\",\"answer\":\"The unit defines data as elementary values or collections, group items as data containing subordinate items, records as collections of various data items, and files as collections of records of one entity type. It also defines entities with attributes and fields as single units representing attribute information.\"},{\"question\":\"Why are data structures needed as applications grow?\",\"answer\":\"Data structures are needed to address problems caused by increasing data size and application complexity. They help with high-speed handling of large data, reduce slow search by avoiding unnecessary traversal, and improve reliability under multiple simultaneous requests.\"}]","UNIT- I - Introduction to Data Structures - Abstract Data Types, Linear Lists, Stacks, Queues | PDF",653,26,[147,151,155,159,163,167,171,175,179,183,187,192,197,202,207,212,217,222,227,231,235,240,245,250,255,260],{"page_no":22,"url":148,"width":149,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/afbd172e98004b0d5fbd54fd1abc3453.webp",983,1272,{"page_no":26,"url":152,"width":153,"height":154},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/aa27b0ab3985c02ad155c38fa48caf9a.webp",982,1270,{"page_no":30,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/7c60020414a825691843e50b0a609d19.webp",981,1269,{"page_no":33,"url":160,"width":161,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/aff1f91249473747b7ddf9ec2b437d80.webp",980,1268,{"page_no":95,"url":164,"width":165,"height":166},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/593695a4d2201fd26211e738552ed463.webp",979,1267,{"page_no":100,"url":168,"width":169,"height":170},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/f814818dd46e20e45fd00dc92c6c8bc6.webp",978,1382,{"page_no":105,"url":172,"width":173,"height":174},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/a9f47aa6370e45ef54ef94b8331694d3.webp",977,1381,{"page_no":110,"url":176,"width":177,"height":178},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/163c48b6ba1cffbc85475f1928a026e1.webp",976,1379,{"page_no":115,"url":180,"width":181,"height":182},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/b1d8382105fb689cb97427b19c9adb4b.webp",975,1261,{"page_no":123,"url":184,"width":185,"height":186},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/1d252438ce10dbc9370e1848622e3cfe.webp",974,1260,{"page_no":188,"url":189,"width":190,"height":191},11,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/e3478b79783e40ccdf9e483cc923ea81.webp",973,1259,{"page_no":193,"url":194,"width":195,"height":196},12,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/a27a17daaa225510bdffb6ef9c5ab719.webp",972,1257,{"page_no":198,"url":199,"width":200,"height":201},13,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/639cc07e34f9ab7f4c83f2f613547236.webp",971,1256,{"page_no":203,"url":204,"width":205,"height":206},14,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/5da17fb287e45d0ad0018ad3491629a2.webp",970,1255,{"page_no":208,"url":209,"width":210,"height":211},15,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/4688e4e31949496895fbb693ca59fa02.webp",969,1254,{"page_no":213,"url":214,"width":215,"height":216},16,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/7728b3858bc770f28468a31a7cb3c2be.webp",968,1252,{"page_no":218,"url":219,"width":220,"height":221},17,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/6746100176411bd9c7274722fec351ac.webp",967,1251,{"page_no":223,"url":224,"width":225,"height":226},18,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/b52cf1ed8d9fa69291e4b7fc7b20fa24.webp",966,1250,{"page_no":127,"url":228,"width":229,"height":230},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/a7368f844b016b33019d694a9ef67d06.webp",965,1248,{"page_no":117,"url":232,"width":233,"height":234},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/f4f7fc9f395d2210434a805556903b75.webp",964,1247,{"page_no":236,"url":237,"width":238,"height":239},21,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/65d7106ac3bcff3368e3ee34c74d5cf0.webp",963,1246,{"page_no":241,"url":242,"width":243,"height":244},22,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/6774ac0c042342844188ebe4f03fda81.webp",962,1245,{"page_no":246,"url":247,"width":248,"height":249},23,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/2dc3f357df00da8a3eeea9ce410afce0.webp",961,1358,{"page_no":251,"url":252,"width":253,"height":254},24,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/b2283be19b22b3ab7314875a00495723.webp",960,1357,{"page_no":256,"url":257,"width":258,"height":259},25,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/7bdb1b3116b09e5a9e1a3887fdb7e2fa.webp",959,1241,{"page_no":145,"url":261,"width":262,"height":263},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/1db74f141da860ef5c37965705b63c64.webp",958,1239,{"list":265,"token":11},[266,272,278,284,291,297,303,309,315,321],{"doc_id":267,"doc_title":268,"file_type":137,"home_preview_img_url":269,"slug":270,"view_count":30,"category_name":29,"create_tm":271},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=1796168519&Signature=2FW04%2F2dZqj2IMLz3t1rgpO5IGc%3D","unit-iii-part-a-linear-data-structures-and-adts-list-stack-and-queue",1794446383,{"doc_id":273,"doc_title":274,"file_type":137,"home_preview_img_url":275,"slug":276,"view_count":30,"category_name":29,"create_tm":277},727274,"Data Structures Using Python - (R20A0503) Lecture Notes - B.TECH II Year I-Sem (R20)","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230029071315/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796168519&Signature=OfZsbs6wUjqsUuEw7ec6yR75uao%3D","data-structures-using-python-r20a0503-lecture-notes-btech-ii-year-i-sem-r20",1795232719,{"doc_id":279,"doc_title":280,"file_type":137,"home_preview_img_url":281,"slug":282,"view_count":123,"category_name":29,"create_tm":283},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=1796168519&Signature=ercRh7xazozjH1orGpS03MKPKlw%3D","chapter-14-linked-lists-chapter-14-operations-and-implementations-of-singly-linked-lists",1794017196,{"doc_id":285,"doc_title":286,"file_type":137,"home_preview_img_url":287,"slug":288,"view_count":289,"category_name":29,"create_tm":290},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=1796168519&Signature=88i%2F8w5IcTvX20vIsgtVP9xonrw%3D","20-tcs-interview-questions-for-freshers-technical-round",28,1790353290,{"doc_id":292,"doc_title":293,"file_type":137,"home_preview_img_url":294,"slug":295,"view_count":105,"category_name":29,"create_tm":296},686726,"Lists - Topic 12 - The List ADT","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001098829/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796168519&Signature=Jp%2BpZwd4D86MLAdfh9c58Wx5ntQ%3D","lists-topic-12-the-list-adt",1794062170,{"doc_id":298,"doc_title":299,"file_type":137,"home_preview_img_url":300,"slug":301,"view_count":115,"category_name":29,"create_tm":302},685793,"1.4.2 Data Structures - Specification - 1.4.2","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000212437/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796168519&Signature=UB8ZOs8Dmym9jnW4t0DtDOGVnU8%3D","142-data-structures-specification-142",1794018669,{"doc_id":304,"doc_title":305,"file_type":137,"home_preview_img_url":306,"slug":307,"view_count":105,"category_name":29,"create_tm":308},697967,"Data Structures Using Python - Course Syllabus - Lecture Notes","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230010146279/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796168519&Signature=m03bERvdpAnZ6ctyhjKv%2BFbBVOE%3D","data-structures-using-python-course-syllabus-lecture-notes",1794446538,{"doc_id":310,"doc_title":311,"file_type":137,"home_preview_img_url":312,"slug":313,"view_count":145,"category_name":29,"create_tm":314},202513,"CISM 254 - Advanced Computer Programming – Java Syllabus","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229882889321/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796168519&Signature=Yca4DsfHOWD4n5pHqz3dikbLmvs%3D","cism-254-advanced-computer-programming-java-syllabus",1788547610,{"doc_id":316,"doc_title":317,"file_type":137,"home_preview_img_url":318,"slug":319,"view_count":110,"category_name":29,"create_tm":320},341200,"Exploring Algorithms and Data with the AP Computer Science Principles (APCSP) Create Task - 7-Week Unit Plan","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229910308063/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796168519&Signature=NDk2lc9P3cmJbzlDKHUgBgNlKkw%3D","exploring-algorithms-and-data-with-the-ap-computer-science-principles-apcsp-create-task-7-week-unit-plan",1790040868,{"doc_id":322,"doc_title":323,"file_type":137,"home_preview_img_url":324,"slug":325,"view_count":193,"category_name":29,"create_tm":326},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=1796168519&Signature=OZa%2Bpo3mfN7ifFtlH1O7HhaM6BI%3D","cse1305-algorithms-data-structures-resit-analysis-exam-05-april-2022",1793570149]