[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-727274-105":59,"doc-detail-727274-en":130,"doc-similar-727274":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":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","data-structures-using-python-r20a0503-lecture-notes-btech-ii-year-i-sem-r20","Data Structures Using Python - (R20A0503) Lecture Notes - B.TECH II Year I-Sem (R20)","","Lecture notes for a B.Tech II Year I-Sem course titled “Data Structures Using Python (R20A0503)” covering core concepts and applications of data structures implemented in Python. The syllabus outlines course objectives, expected outcomes, and a unit-wise progression from OOPs fundamentals (classes, objects, inheritance, polymorphism, abstraction) to Python data structures (lists, tuples, sets, dictionaries, comprehensions, strings), then arrays, searching and sorting algorithms, followed by linked lists, stacks, queues, priority queues, graphs (BFS/DFS), and trees including BST and AVL.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":20,"@type":76,"position":81},"https://docshare.wps.com/document/exam/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/data-structures-using-python-r20a0503-lecture-notes-btech-ii-year-i-sem-r20/727274/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/data-structures-using-python-r20a0503-lecture-notes-btech-ii-year-i-sem-r20/727274.png","ImageObject",300,407,{"name":92,"@type":93},"Obex","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-23","2026-11-21",true,{"@type":102,"interactionType":103,"userInteractionCount":81},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What learning outcomes does the course aim to achieve?","Question",{"text":112,"@type":113},"Students should be able to apply Python syntax and semantics with flow control and functions, create and manipulate programs using core data structures, use tuples/lists/sets/dictionaries, interpret OOP concepts in Python, and build projects using objects and classes.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"Which topics are covered in Unit I?",{"text":117,"@type":113},"Unit I focuses on OOPs in Python: class, object, constructors, variables and methods, inheritance types, polymorphism (functions/objects/class methods/inheritance), and abstraction via abstract classes.",{"name":119,"@type":110,"acceptedAnswer":120},"Which algorithms and data structures are included for searching and sorting?",{"text":121,"@type":113},"The syllabus includes linear search and binary search, and sorting techniques such as bubble sort, selection sort, insertion sort, merge sort, and quick sort.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},727274,1795232719,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":19,"category_name":20,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":81,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":129,"read_time":144,"preview_page_count":145,"preview_urls":146},5909898192665,"https://ap-avatar.wpscdn.com/davatar_29158cc5080c5b710cf443261637dec0","| \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| \u003Cbr>\u003Cbr>\u003Cbr>CYBER SECURITY\u003Cbr>|  |  |  |  |  |  |  |\n| DEPARTMENT OF CSE (DATA SCIENCE, CYBER SECURITY, INTERNET OF THINGS) |  |  |  |  |  |  |  |\n|  |  |  |  |  |  |  |  |\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 Python.  \n5. Master obj","cbCaicyJkmIAyvaR","https://ap.wps.com/l/cbCaicyJkmIAyvaR","pdf",5263630,164,"English","# SYLLABUS\n## COURSE OBJECTIVES\n## UNIT – I\n## UNIT – II\n## UNIT – III\n## UNIT – IV\n## UNIT – V\n## TEXTBOOKS\n## REFERENCE BOOKS\n## COURSE OUTCOMES\n## INDEX","[{\"question\":\"What learning outcomes does the course aim to achieve?\",\"answer\":\"Students should be able to apply Python syntax and semantics with flow control and functions, create and manipulate programs using core data structures, use tuples/lists/sets/dictionaries, interpret OOP concepts in Python, and build projects using objects and classes.\"},{\"question\":\"Which topics are covered in Unit I?\",\"answer\":\"Unit I focuses on OOPs in Python: class, object, constructors, variables and methods, inheritance types, polymorphism (functions/objects/class methods/inheritance), and abstraction via abstract classes.\"},{\"question\":\"Which algorithms and data structures are included for searching and sorting?\",\"answer\":\"The syllabus includes linear search and binary search, and sorting techniques such as bubble sort, selection sort, insertion sort, merge sort, and quick sort.\"}]","Data Structures Using Python - (R20A0503) Lecture Notes - B.TECH II Year I-Sem (R20) | PDF",413,17,[147,151,155,159,163,167,171,175,179,183,187,192,197,202,207,212,217],{"page_no":8,"url":148,"width":149,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-21/04e2fbec8b03ecaa5cfdb0fd3c16192d.webp",983,1272,{"page_no":14,"url":152,"width":153,"height":154},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-21/3b7dfe2458902980701693e51dfaf9a9.webp",982,1270,{"page_no":81,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-21/64530c1712612914646e74bcfa321ad9.webp",981,1269,{"page_no":19,"url":160,"width":161,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-21/9e87a5a1da97c840465da0b9af7c8da0.webp",980,1268,{"page_no":24,"url":164,"width":165,"height":166},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-21/448b49fb477fb9ccd63345940fa6d7db.webp",979,1267,{"page_no":29,"url":168,"width":169,"height":170},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-21/f8d46ee08fbf2c368e9f68555a82ac3c.webp",978,1265,{"page_no":34,"url":172,"width":173,"height":174},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-21/7d1747dc4011fe123cd8458893a16778.webp",977,1264,{"page_no":39,"url":176,"width":177,"height":178},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-21/0f380f6c5b4274c5f34e7b57c011eb46.webp",976,1263,{"page_no":44,"url":180,"width":181,"height":182},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-21/98bd02af4dfc346b5366894e2fe23b52.webp",975,1261,{"page_no":52,"url":184,"width":185,"height":186},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-21/bd147a10bca8b5bfecdd56791bee84d0.webp",974,1260,{"page_no":188,"url":189,"width":190,"height":191},11,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-21/23231e54d247405a0c7fa5fc5b61a1fd.webp",973,1259,{"page_no":193,"url":194,"width":195,"height":196},12,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-21/1be5a6236dc64186c030cdb4e70d584c.webp",972,1257,{"page_no":198,"url":199,"width":200,"height":201},13,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-21/978a516dfc2bcb415d689c1f2af302c3.webp",971,1256,{"page_no":203,"url":204,"width":205,"height":206},14,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-21/2f17a2cee0bac5b83c18fda91a345ab6.webp",970,1255,{"page_no":208,"url":209,"width":210,"height":211},15,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-21/a1fa0b212a05b65efad895a2a0e499c9.webp",969,1254,{"page_no":213,"url":214,"width":215,"height":216},16,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-21/6752aeeec4eac4b70c240c19b5a04231.webp",968,1252,{"page_no":145,"url":218,"width":219,"height":220},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-21/54c4a5c875b6a2a9699824c069fabba1.webp",967,1251,{"list":222,"token":66},[223,229,235,241,248,254,261,267,273,279],{"doc_id":224,"doc_title":225,"file_type":137,"home_preview_img_url":226,"slug":227,"view_count":34,"category_name":20,"create_tm":228},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=1796167619&Signature=gyKCpjgJ1W0HrkdUAOFGSamAEr4%3D","data-structures-using-python-course-syllabus-lecture-notes",1794446538,{"doc_id":230,"doc_title":231,"file_type":137,"home_preview_img_url":232,"slug":233,"view_count":203,"category_name":20,"create_tm":234},391904,"Deloitte Python Interview Questions - Basic Python Questions","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229917409659/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796167619&Signature=L4RvlZ8DAV0yY4SB2ol6K%2BY2ig8%3D","deloitte-python-interview-questions-basic-python-questions",1790359985,{"doc_id":236,"doc_title":237,"file_type":137,"home_preview_img_url":238,"slug":239,"view_count":44,"category_name":20,"create_tm":240},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=1796167619&Signature=7GN9lidcVyHQONDBq7Vjc%2FrM37w%3D","142-data-structures-specification-142",1794018669,{"doc_id":242,"doc_title":243,"file_type":137,"home_preview_img_url":244,"slug":245,"view_count":246,"category_name":20,"create_tm":247},458254,"AP Computer Science AB - Syllabus - Course Overview and Unit Outline","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229925410280/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796167619&Signature=9JyDUAS%2Bi5kG5ACSQRcQPHnmQbM%3D","ap-computer-science-ab-syllabus-course-overview-and-unit-outline",25,1790752341,{"doc_id":249,"doc_title":250,"file_type":137,"home_preview_img_url":251,"slug":252,"view_count":56,"category_name":20,"create_tm":253},457689,"MSCIT Syllabus - Master of Science Information Technology Programme Structure and Detailed Curriculum","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229925374827/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796167619&Signature=RCFEZxeQvR4Li8mb1pCH6vNwmNg%3D","mscit-syllabus-master-of-science-information-technology-programme-structure-and-detailed-curriculum",1790750155,{"doc_id":255,"doc_title":256,"file_type":137,"home_preview_img_url":257,"slug":258,"view_count":259,"category_name":20,"create_tm":260},289709,"Computer Science Question Paper - Class XII - Full Marks 70 - Time 3 Hours","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229903431181/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796167619&Signature=HVrZaec0LDfbxOiz%2BIjO1jusPTs%3D","computer-science-question-paper-class-xii-full-marks-70-time-3-hours",28,1789636559,{"doc_id":262,"doc_title":263,"file_type":137,"home_preview_img_url":264,"slug":265,"view_count":44,"category_name":20,"create_tm":266},670584,"Java Data Structures Cheat Sheet","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229988344079/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796167619&Signature=ye1Ee1aiRgndqeNr7v9ESD%2BCxvM%3D","java-data-structures-cheat-sheet",1793570142,{"doc_id":268,"doc_title":269,"file_type":137,"home_preview_img_url":270,"slug":271,"view_count":24,"category_name":20,"create_tm":272},697981,"ICDL Computing Lesson 8 - Aggregate Data Types","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230010146836/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796167619&Signature=We8zYPSI1wwjU6Kgz%2FpGFP5nj68%3D","icdl-computing-lesson-8-aggregate-data-types",1794446564,{"doc_id":274,"doc_title":275,"file_type":137,"home_preview_img_url":276,"slug":277,"view_count":198,"category_name":20,"create_tm":278},390347,"CS165 - Practice Final Exam Questions","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229917226541/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796167619&Signature=vh1UUEdr49KbSWDPniOrJub7UGs%3D","cs165-practice-final-exam-questions",1790333069,{"doc_id":280,"doc_title":281,"file_type":137,"home_preview_img_url":282,"slug":283,"view_count":145,"category_name":20,"create_tm":284},391580,"Python coding interview questions for data analyst","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229917692249/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796167619&Signature=1AAhSMMZbYmyYd7hFfoTUs31AHg%3D","python-coding-interview-questions-for-data-analyst",1790355255]