[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-detail-697948-en":59,"doc-seo-697948-105":158,"doc-similar-697948":221},{"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":44,"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":81,"preview_urls":82},697948,962094249103,"AditGamingID","https://ap-avatar.wpscdn.com/davatar_276721f389ce27ea32af1340a28f341c","Data Structures Using Python - R20A0503 - Lecture Notes","B.Tech II Year I Semester (R20) lecture notes for “Data Structures Using Python” provide a structured study plan across five units covering core OOPs in Python and foundational data structures. The course objectives emphasize understanding object-oriented programming concepts, working with tuples, lists, sets, and dictionaries, and applying searching and sorting techniques. It details linear and non-linear structures including arrays, linked lists, stacks, queues, priority queues, graphs, and trees, concluding with course outcomes aligned to programming practice and project-level object use.","| \u003Cbr>MALLA REDDY COLLEGE OF ENGINEERING & TECHNOLOGY\u003Cbr>Autonomous Institution-UGC, Govt . of India\u003Cbr>APPROVED BY AICTE, ACCREDITED BY NBA & NAAC – 'A' GRADE ISO 9001:2015 CERTIFIED |  |  |  |  |  |  |  |  |  |\n| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |\n| B.TECH |  |  | II – I |  | R20 |  | 2021-2022 |  |  |\n| Data Structures\u003Cbr>\u003Cbr>Python\u003Cbr>[R20A0503]\u003Cbr>DIGITAL NOTES |  |  |  |  |  |  |  |  |  |\n| |  |  |  |  |  |  |  |  |  |\n|  |  |  |  |  |  |  |  |  |  |\n|  | DEPARTMENT OF CSE (DATA SCIENCE, CYBER SECURITY, INTERNET OF THINGS) |  |  |  |  |  |  |  |  |\n\nData Structures Using Python  \n(R20A0503) LECTURE NOTES  \nB.TECH II YEAR I-SEM(R20)  \n(2021-2022)  \nDEPARTMENT OF COMPUTER SCIENCE & ENGINEERING  \n(DATA SCIENCE,CYBER SECURITY,INTERNET OF THINGS)  \nMALLA REDDY COLLEGE OF ENGINEERING & TECHNOLOGY  \n(Autonomous Institution – UGC, Govt. of India)  \n(Affiliated to JNTUH, Hyderabad, Approved by AICTE-Accredited by NBA & NAAC – „A‟Grade-ISO 9001:2015 Certified) Maisammaguda, Dhulapally (Post Via. Hakimpet), Secunderabad – 500100, Telangana State, India  \nSYLLABUS  \nMALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY  \nII Year B.Tech CSE(DS,CS,IOT) -I SEM L T/P/C  \n3 -/ -/ -3  \n(R20A0503)DATA STRUCTURES USING PYTHON  \nCOURSE OBJECTIVES:  \nThis course will enable students to  \n1. Get acquainted in overall concepts of Data Structures using Python  \n2. Gain knowledge in Object Oriented Programming concepts in Python.  \n3. Understand Tuples, Lists, Sets and Dictionaries in Python.  \n4. Understand how searching and sorting is performed in Python.  \n5. Study how linear and non-linear data structures perform  \nUNIT – I  \nOops Concepts- class, object, constructors, types of variables, types of methods. Inheritance: single, multiple, multi-level, hierarchical, hybrid, Polymorphism: with functions and objects, with class methods, with  \ninheritance,Abstraction: abstract classes.  \nUNIT – II  \nData Structures – Definition,Linear Data Structures,Non-Linear Data Structures,Python Specific Data Structures, List,Tuples, Set, Dictionaries, Comprehensions and its Types, Strings,slicing.  \nUNIT-III  \nArrays-Overview, Types of Arrays, Operations on Arrays, Arrays vs List.  \nSearching-Linear Search and Binary Search.  \nSorting-Bubble Sort, Selection Sort, Insertion Sort, Merge Sort, Quick Sort.  \nUNIT-IV  \nLinked Lists – Implementation of Singly Linked Lists, Doubly Linked Lists, Circular Linked Lists. Stacks-Overview of Stack, Implementation of Stack (List & Linked list), Applications of Stack  \nQueues:Overview of Queue, Implementation of Queue(List & Linked list), Applications of Queues, Priority Queues.  \nUNIT-V  \nGraphs-Introduction, Directed vs Undirected Graphs, Weighted vs Unweighted Graphs, Representations, Breadth First Search, Depth First Search.  \nTrees - Overview of Trees, Tree Terminology, Binary Trees: Introduction, Implementation, Applications. Tree Traversals, Binary Search Trees: Introduction, Implementation, AVL Trees: Introduction, Rotations, Implementation.  \nTEXTBOOKS:  \n1. Data structures and algorithms in python by Michael T. Goodrich  \n2. Data Structures and Algorithmic Thinking with Python by NarasimhaKarumanchi  \nREFERENCE BOOKS:  \n1. Hands-On Data Structures and Algorithms with Python: Write complex and powerful code using the latest features of Python 3.7, 2nd Edition by Dr. Basant Agarwal, Benjamin Baka.  \n2. Data Structures and Algorithms with Python by Kent D. Lee and Steve Hubbard.  \n3. Problem Solving with Algorithms and Data Structures Using Python by Bradley N Miller and David L. Ranum.  \n4. Core Python Programming-Second Edition,R. Nageswara Rao, Dreamtech Press  \nCOURSE OUTCOMES:  \nThe students should be able to:  \n1. Examine Python syntax and semantics and apply Python flow control and functions.  \n2. Create, run and manipulate Python Programs using core data structures  \n3. Apply Tuples, Lists, Sets and Dictionaries.  \n4. Interpret the concepts of Object-Oriented Programming as used in Pytho","cbCainz6hynw6gB9","https://ap.wps.com/l/cbCainz6hynw6gB9","pdf",5181080,164,"English","en",105,"# Course Objectives\n# UNIT – I: Oops Concepts\n## Inheritance and Polymorphism\n## Abstraction and Abstract Classes\n# UNIT – II: Data Structures in Python\n## Linear and Non-Linear Structures\n## List, Tuples, Set, Dictionaries, Comprehensions\n## Strings and Slicing\n# UNIT – III: Arrays, Searching, Sorting\n## Arrays and Array vs List\n## Linear Search and Binary Search\n## Bubble, Selection, Insertion, Merge, Quick Sort\n# UNIT – IV: Linked Lists, Stacks, Queues\n## Singly, Doubly, Circular Linked Lists\n## Stack and Queue implementations\n## Priority Queues\n# UNIT – V: Graphs and Trees\n## Breadth First Search and Depth First Search\n## Tree Terminology, BST and AVL Trees","[{\"question\":\"What are the main course objectives of Data Structures Using Python?\",\"answer\":\"The notes list objectives to introduce overall data structure concepts in Python, build understanding of object-oriented programming, master tuples/lists/sets/dictionaries, learn searching and sorting methods, and study linear and non-linear data structures and their performance.\"},{\"question\":\"Which data structures and concepts are covered in Unit II?\",\"answer\":\"Unit II covers definitions and types of data structures, Python-specific structures (lists, tuples, sets, dictionaries), comprehensions and their types, as well as strings and slicing.\"},{\"question\":\"What searching and sorting algorithms are included in Unit III?\",\"answer\":\"Unit III includes linear search and binary search for searching, and bubble sort, selection sort, insertion sort, merge sort, and quick sort for sorting.\"}]","Data Structures Using Python - R20A0503 - Lecture Notes | PDF",1794446274,413,17,[83,87,91,96,100,104,108,112,116,120,124,129,134,139,144,149,154],{"page_no":8,"url":84,"width":85,"height":86},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/d7bfa39059bc0ba51ded8ff5e7b2d42a.webp",983,1272,{"page_no":14,"url":88,"width":89,"height":90},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/66baed03c4cc49d073b577f9b7d7df0e.webp",982,1270,{"page_no":92,"url":93,"width":94,"height":95},3,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/a605588e7432faaf72cf38c879b0e3cb.webp",981,1269,{"page_no":19,"url":97,"width":98,"height":99},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/5c870eade142f5080f4eae7e81d19857.webp",980,1268,{"page_no":24,"url":101,"width":102,"height":103},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/31cc81cdbf872afc797b836d54345c85.webp",979,1267,{"page_no":29,"url":105,"width":106,"height":107},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/c74f629df8f20cd0723629e981059bde.webp",978,1265,{"page_no":34,"url":109,"width":110,"height":111},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/8d974a825cb0d9909e427d032f5648a9.webp",977,1264,{"page_no":39,"url":113,"width":114,"height":115},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/eaca4c6e78f272018c16c3c356d2c545.webp",976,1263,{"page_no":44,"url":117,"width":118,"height":119},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/1b741e8445ea9e97cf99f10fc0e58fb2.webp",975,1261,{"page_no":52,"url":121,"width":122,"height":123},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/7c6bf9e83946ae7f67daaaaba46ff6d7.webp",974,1260,{"page_no":125,"url":126,"width":127,"height":128},11,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/6b90b297d23f90f108e2789d7e980dec.webp",973,1259,{"page_no":130,"url":131,"width":132,"height":133},12,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/a98308b4a44869740b465732e7019616.webp",972,1257,{"page_no":135,"url":136,"width":137,"height":138},13,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/306e9b84a1bd8c4d354d1326ec8c4ae8.webp",971,1256,{"page_no":140,"url":141,"width":142,"height":143},14,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/cf3bcbdcda2fc17aa7305cf55e6ade78.webp",970,1255,{"page_no":145,"url":146,"width":147,"height":148},15,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/5b5ab856e7ac894f1e398ecdf10a63e8.webp",969,1254,{"page_no":150,"url":151,"width":152,"height":153},16,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/46a26bf0bd4c369a41ba1a4961312881.webp",968,1252,{"page_no":81,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/faeb8a4027289872d82c7192a342d279.webp",967,1251,{"code":4,"msg":159,"data":160},"ok",{"site_id":75,"language":74,"slug":161,"title":65,"keywords":162,"description":66,"schema_data":163,"social_meta":216,"head_meta":218,"extra_data":220,"updated_unix":79},"data-structures-using-python-r20a0503-lecture-notes","",{"@graph":164,"@context":215},[165,178,198],{"@type":166,"itemListElement":167},"BreadcrumbList",[168,172,174,176],{"item":169,"name":170,"@type":171,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":173,"name":9,"@type":171,"position":14},"https://docshare.wps.com/document/",{"item":175,"name":30,"@type":171,"position":92},"https://docshare.wps.com/document/technology/",{"item":177,"name":65,"@type":171,"position":19},"https://docshare.wps.com/document/data-structures-using-python-r20a0503-lecture-notes/697948/",{"url":177,"name":65,"@type":179,"image":180,"author":185,"headline":65,"publisher":187,"fileFormat":190,"inLanguage":74,"description":66,"dateModified":191,"datePublished":192,"encodingFormat":190,"isAccessibleForFree":193,"interactionStatistic":194},"DigitalDocument",{"url":181,"@type":182,"width":183,"height":184},"https://docshare.wps.com/thumbnails/data-structures-using-python-r20a0503-lecture-notes/697948.png","ImageObject",300,407,{"name":63,"@type":186},"Person",{"url":169,"name":188,"@type":189},"DocShare","Organization","application/pdf","2026-11-21","2026-11-12",true,{"@type":195,"interactionType":196,"userInteractionCount":44},"InteractionCounter",{"@type":197},"ViewAction",{"@type":199,"mainEntity":200},"FAQPage",[201,207,211],{"name":202,"@type":203,"acceptedAnswer":204},"What are the main course objectives of Data Structures Using Python?","Question",{"text":205,"@type":206},"The notes list objectives to introduce overall data structure concepts in Python, build understanding of object-oriented programming, master tuples/lists/sets/dictionaries, learn searching and sorting methods, and study linear and non-linear data structures and their performance.","Answer",{"name":208,"@type":203,"acceptedAnswer":209},"Which data structures and concepts are covered in Unit II?",{"text":210,"@type":206},"Unit II covers definitions and types of data structures, Python-specific structures (lists, tuples, sets, dictionaries), comprehensions and their types, as well as strings and slicing.",{"name":212,"@type":203,"acceptedAnswer":213},"What searching and sorting algorithms are included in Unit III?",{"text":214,"@type":206},"Unit III includes linear search and binary search for searching, and bubble sort, selection sort, insertion sort, merge sort, and quick sort for sorting.","https://schema.org",{"og:url":177,"og:type":217,"og:title":65,"og:site_name":188,"og:description":66},"article",{"robots":219,"canonical":177},"index,follow",{"doc_id":61,"site_id":75},{"list":222,"token":162},[223,229,235,241,247,253,259,265,271,277],{"doc_id":224,"doc_title":225,"file_type":70,"home_preview_img_url":226,"slug":227,"view_count":145,"category_name":30,"create_tm":228},417799,"PYTHON PROGRAMMING - R17A0554 - Lecture Notes - B.TECH III YEAR II SEM","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229922495571/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=MzcRlJnKsy8SsXqWTNALrVD%2F5sk%3D","python-programming-r17a0554-lecture-notes-btech-iii-year-ii-sem",1790610657,{"doc_id":230,"doc_title":231,"file_type":70,"home_preview_img_url":232,"slug":233,"view_count":34,"category_name":30,"create_tm":234},697952,"Python Session 2 - Data Structures","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230010141975/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=U1UgeJV0IrRzcNWSHSxUWbR3hQU%3D","python-session-2-data-structures",1794446325,{"doc_id":236,"doc_title":237,"file_type":70,"home_preview_img_url":238,"slug":239,"view_count":19,"category_name":30,"create_tm":240},697962,"DATA STRUCTURES - Chapter 5 Basic Data Structures","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230009214987/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=EBinYdjr2MzJve%2BvAKs1USDwTkk%3D","data-structures-chapter-5-basic-data-structures",1794446352,{"doc_id":242,"doc_title":243,"file_type":70,"home_preview_img_url":244,"slug":245,"view_count":92,"category_name":30,"create_tm":246},671623,"Data Structures Cheat Sheet - Time Complexity and Core Properties","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229988381074/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=HV%2B6saBzKJ%2BTsJbFVZdVWBjYHe8%3D","data-structures-cheat-sheet-time-complexity-and-core-properties",1793577648,{"doc_id":248,"doc_title":249,"file_type":70,"home_preview_img_url":250,"slug":251,"view_count":150,"category_name":30,"create_tm":252},671794,"Python Tutorial - Release 3.7.0","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229988403939/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=bforfmTVf35fomsDme39w8FD3ys%3D","python-tutorial-release-370",1793580648,{"doc_id":254,"doc_title":255,"file_type":70,"home_preview_img_url":256,"slug":257,"view_count":24,"category_name":30,"create_tm":258},697959,"Cheatcode-Book - How to Prepare for Interviews","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230010142285/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=xTm5h17KjkCDV8gbHZvn1MMWw5g%3D","cheatcode-book-how-to-prepare-for-interviews",1794446344,{"doc_id":260,"doc_title":261,"file_type":70,"home_preview_img_url":262,"slug":263,"view_count":29,"category_name":30,"create_tm":264},685629,"Chapter 2: Lists, Arrays and Dictionaries","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229999084017/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=WdnmKigFzFSiqP9PPmpVe0jolCE%3D","chapter-2-lists-arrays-and-dictionaries",1794016092,{"doc_id":266,"doc_title":267,"file_type":70,"home_preview_img_url":268,"slug":269,"view_count":24,"category_name":30,"create_tm":270},692235,"Learning Python - Fourth Edition - Learn Python Programming","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230003011256/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=i0Impi9TRnLf%2FBdBJQHLpwd7hR4%3D","learning-python-fourth-edition-learn-python-programming",1794186387,{"doc_id":272,"doc_title":273,"file_type":70,"home_preview_img_url":274,"slug":275,"view_count":24,"category_name":30,"create_tm":276},685779,"Topic 6 - Lists, Sets, Tuples, Dictionaries","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000203959/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=rfdaapWtjCKVRDzAaXazV0QK0uA%3D","topic-6-lists-sets-tuples-dictionaries",1794018231,{"doc_id":278,"doc_title":279,"file_type":70,"home_preview_img_url":280,"slug":281,"view_count":24,"category_name":30,"create_tm":282},685756,"UNIT- I - Introduction to Data Structures and Linear Data Structures","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000192540/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=Su3FqfMmMzbR5TKJGccYP8sWn3M%3D","unit-i-introduction-to-data-structures-and-linear-data-structures",1794017620]