[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-1-en-105":3,"doc-seo-574602-105":53,"doc-detail-574602-en":126,"doc-similar-574602":195},{"code":4,"msg":5,"data":6},0,"success",[7,14,19,24,29,34,39,44,49],{"id":8,"doc_module":9,"doc_module_name":10,"category_name":11,"show_sort_weight":12,"slug":13},11,1,"Template","Presentations",90,"presentations",{"id":15,"doc_module":9,"doc_module_name":10,"category_name":16,"show_sort_weight":17,"slug":18},12,"Resumes",80,"resumes",{"id":20,"doc_module":9,"doc_module_name":10,"category_name":21,"show_sort_weight":22,"slug":23},14,"Invoices",70,"invoices",{"id":25,"doc_module":9,"doc_module_name":10,"category_name":26,"show_sort_weight":27,"slug":28},15,"Posters",60,"posters",{"id":30,"doc_module":9,"doc_module_name":10,"category_name":31,"show_sort_weight":32,"slug":33},16,"Social Media",50,"social-media",{"id":35,"doc_module":9,"doc_module_name":10,"category_name":36,"show_sort_weight":37,"slug":38},17,"Forms",40,"forms",{"id":40,"doc_module":9,"doc_module_name":10,"category_name":41,"show_sort_weight":42,"slug":43},18,"Letters",30,"letters",{"id":45,"doc_module":9,"doc_module_name":10,"category_name":46,"show_sort_weight":47,"slug":48},21,"Paper Templates",5,"papers-templates",{"id":50,"doc_module":9,"doc_module_name":10,"category_name":51,"show_sort_weight":4,"slug":52},158,"General","general-158",{"code":4,"msg":54,"data":55},"ok",{"site_id":56,"language":57,"slug":58,"title":59,"keywords":60,"description":61,"schema_data":62,"social_meta":119,"head_meta":121,"extra_data":123,"updated_unix":125},105,"en","data-structures-and-algorithms-annotated-reference-with-examples","Data Structures and Algorithms: Annotated Reference with Examples","","Data Structures and Algorithms: Annotated Reference with Examples presents an annotated, example-driven reference covering core data structures and fundamental algorithms. The structure begins with an introduction, assumed knowledge, pseudocode, testing guidance, and code availability, then proceeds through linked lists, binary search trees, heaps, sets, queues, and AVL trees. It continues with sorting methods (bubble, merge, quick, insertion, shell, radix), numeric techniques (primality, conversions, GCD, factorial), searching strategies, and string operations such as palindrome detection and pattern matching.",{"@graph":63,"@context":118},[64,80,101],{"@type":65,"itemListElement":66},"BreadcrumbList",[67,71,74,77],{"item":68,"name":69,"@type":70,"position":9},"https://docshare.wps.com","Home","ListItem",{"item":72,"name":10,"@type":70,"position":73},"https://docshare.wps.com/template/",2,{"item":75,"name":11,"@type":70,"position":76},"https://docshare.wps.com/template/presentations/",3,{"item":78,"name":59,"@type":70,"position":79},"https://docshare.wps.com/template/data-structures-and-algorithms-annotated-reference-with-examples/574602/",4,{"url":78,"name":59,"@type":81,"image":82,"author":87,"headline":59,"publisher":90,"fileFormat":93,"inLanguage":57,"description":61,"dateModified":94,"datePublished":95,"encodingFormat":93,"isAccessibleForFree":96,"interactionStatistic":97},"DigitalDocument",{"url":83,"@type":84,"width":85,"height":86},"https://docshare.wps.com/thumbnails/data-structures-and-algorithms-annotated-reference-with-examples/574602.png","ImageObject",442,249,{"name":88,"@type":89},"Alex Sinclair","Person",{"url":68,"name":91,"@type":92},"DocShare","Organization","application/pdf","2026-12-02","2026-10-14",true,{"@type":98,"interactionType":99,"userInteractionCount":47},"InteractionCounter",{"@type":100},"ViewAction",{"@type":102,"mainEntity":103},"FAQPage",[104,110,114],{"name":105,"@type":106,"acceptedAnswer":107},"What topics are covered in the data structures section?","Question",{"text":108,"@type":109},"The document outlines linked lists, binary search trees, heaps, sets, queues, and AVL trees, with detailed subtopics such as insertion, searching, deletion, traversal, and rebalancing.","Answer",{"name":111,"@type":106,"acceptedAnswer":112},"Which sorting algorithms are included?",{"text":113,"@type":109},"It includes Bubble Sort, Merge Sort, Quick Sort, Insertion Sort, Shell Sort, and Radix Sort, followed by a summary for each topic block.",{"name":115,"@type":106,"acceptedAnswer":116},"What algorithm techniques are discussed for numbers and strings?",{"text":117,"@type":109},"The numeric section covers primality testing, base conversions, greatest common denominator, maximum value computation in a given base, and factorial. The strings section covers reversing word order, palindrome detection, counting words, finding repeated words, and identifying the first matching character.","https://schema.org",{"og:url":78,"og:type":120,"og:title":59,"og:site_name":91,"og:description":61},"article",{"robots":122,"canonical":78},"index,follow",{"doc_id":124,"site_id":56},574602,1792010382,{"code":4,"msg":5,"data":127},{"doc_id":124,"user_id":128,"nickname":88,"user_avatar":129,"doc_module":9,"category_id":8,"category_name":11,"doc_title":59,"doc_description":61,"doc_content":130,"file_id":131,"file_url":132,"file_type":133,"file_size":134,"view_count":47,"is_deleted":4,"is_public":9,"is_downloadable":9,"audit_status":9,"page_count":135,"language":136,"language_code":57,"site_id":56,"html_lang":57,"table_of_contents":137,"faqs":138,"seo_title":139,"seo_description":61,"update_tm":125,"read_time":140,"preview_page_count":15,"preview_urls":141},1099523882182,"https://ap-avatar.wpscdn.com/davatar_6f874abed73319feea01a86fa6f0fab8","Data St ructures and Algorith ms  \nGranville Barne! Luca Del Tongo  \nData Structures and Algorithms: Annotated Reference with Examples  \nFirst Edition  \nCopyright °c Granville Barnett, and Luca Del Tongo 2008 .  \nThis book is made exclusively available from DotNetSlackers ([http://dotnetslackers.com/](http://dotnetslackers.com/)) the place for .NET articles, and news from some of the leading minds in the software industry.  \nContents  \n1 Introduction 1  \n1.1 What this book is, and what it isn't ................ 1  \n1.2 Assumed knowledge ......................... 1  \n1.2.1 Big Oh notation ....................... 1  \n1.2.2 Imperative programming language ............. 3  \n1.2.3 Object oriented concepts .................. 4  \n1.3 Pseudocode .............................. 4  \n1.4 Tips for working through the examples ............... 6  \n1.5 Book outline ............................. 6  \n1.6 Testing ................................ 7  \n1.7 Where can I get the code? ...................... 7  \n1.8 Final messages ............................ 7  \nI Data Structures 8  \n2 Linked Lists 9  \n2.1 Singly Linked List .......................... 9  \n2.1.1 Insertion ............................ 10  \n2.1.2 Searching ........................... 10  \n2.1.3 Deletion ............................ 11  \n2.1.4 Traversing the list ...................... 12  \n2.1.5 Traversing the list in reverse order ............. 13  \n2.2 Doubly Linked List .......................... 13  \n2.2.1 Insertion ............................ 15  \n2.2.2 Deletion ............................ 15  \n2.2.3 Reverse Traversal ....................... 16  \n2.3 Summary ............................... 17  \n3 Binary Search Tree 19  \n3.1 Insertion ................................ 20  \n3.2 Searching ............................... 21  \n3.3 Deletion ................................ 22  \n3.4 Finding the parent of a given node ................. 24  \n3.5 Attaining a reference to a node ................... 24  \n3.6 Finding the smallest and largest values in the binary search tree 25  \n3.7 Tree Traversals ............................ 26  \n3.7.1 Preorder ............................ 26  \n3.7.2 Postorder ........................... 26  \n3.7.3 Inorder ............................ 29  \n3.7.4 Breadth First ......................... 30  \n3.8 Summary ............................... 31  \n4 Heap 32  \n4.1 Insertion ................................ 33  \n4.2 Deletion ................................ 37  \n4.3 Searching ............................... 38  \n4.4 Traversal ............................... 41  \n4.5 Summary ............................... 42  \n5 Sets 44  \n5.1 Unordered ............................... 46  \n5.1.1 Insertion ............................ 46  \n5.2 Ordered ................................ 47  \n5.3 Summary ............................... 47  \n6 Queues 48  \n6.1 A standard queue ........................... 49  \n6.2 Priority Queue ............................ 49  \n6.3 Double Ended Queue ......................... 49  \n6.4 Summary ............................... 53  \n7 AVL Tree 54  \n7.1 Tree Rotations ............................ 56  \n7.2 Tree Rebalancing ........................... 57  \n7.3 Insertion ................................ 58  \n7.4 Deletion ................................ 59  \n7.5 Summary ............................... 61  \nII Algorithms 62  \n8 Sorting 63  \n8.1 Bubble Sort .............................. 63  \n8.2 Merge Sort .............................. 63  \n8.3 Quick Sort ............................... 65  \n8.4 Insertion Sort ............................. 67  \n8.5 Shell Sort ............................... 68  \n8.6 Radix Sort .............................. 68  \n8.7 Summary ............................... 70  \n9 Numeric 72  \n9.1 Primality Test ............................ 72  \n9.2 Base conversions ........................... 72  \n9.3 Attaining the greatest common denominator of two numbers .. 73  \n9.4 Computing the maximum value for a number of a speci¯c base consisting of N digits ....","cbCaigfR6JdCiSiq","https://ap.wps.com/l/cbCaigfR6JdCiSiq","pdf",1088734,112,"English","# Introduction\n## What this book is, and what it isn't\n## Assumed knowledge\n## Big Oh notation\n## Imperative programming language\n## Object oriented concepts\n## Pseudocode\n## Tips for working through the examples\n## Book outline\n## Testing\n## Where can I get the code?\n## Final messages\n# Data Structures\n## Linked Lists\n## Binary Search Tree\n## Heap\n## Sets\n## Queues\n## AVL Tree\n# Algorithms\n## Sorting\n## Numeric\n## Searching\n## Strings\n# Appendices\n## Algorithm Walkthrough\n## Translation Walkthrough\n## Recursive Vs. Iterative Solutions\n## Testing\n## Symbol Definitions\n# Preface","[{\"question\":\"What topics are covered in the data structures section?\",\"answer\":\"The document outlines linked lists, binary search trees, heaps, sets, queues, and AVL trees, with detailed subtopics such as insertion, searching, deletion, traversal, and rebalancing.\"},{\"question\":\"Which sorting algorithms are included?\",\"answer\":\"It includes Bubble Sort, Merge Sort, Quick Sort, Insertion Sort, Shell Sort, and Radix Sort, followed by a summary for each topic block.\"},{\"question\":\"What algorithm techniques are discussed for numbers and strings?\",\"answer\":\"The numeric section covers primality testing, base conversions, greatest common denominator, maximum value computation in a given base, and factorial. The strings section covers reversing word order, palindrome detection, counting words, finding repeated words, and identifying the first matching character.\"}]","Data Structures and Algorithms: Annotated Reference with Examples | PDF",39,[142,146,150,154,158,162,167,172,177,182,187,191],{"page_no":9,"url":143,"width":144,"height":145},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/206321825b09933d29100614010ec08e.webp",983,1390,{"page_no":73,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/167ab0cf75a2525a99a559a0f8feb059.webp",982,1389,{"page_no":76,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/4c46488a23c6628b2a42198d9065c6a2.webp",981,1387,{"page_no":79,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/44f3be7c6d20635bd593df0297b259b9.webp",980,1386,{"page_no":47,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/a02e45311142d708222846abf2a73a08.webp",979,1385,{"page_no":163,"url":164,"width":165,"height":166},6,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/804ce2350ac05ce96149aa1156091060.webp",978,1383,{"page_no":168,"url":169,"width":170,"height":171},7,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/c2897f22a724e11889179d4d1477ace5.webp",977,1382,{"page_no":173,"url":174,"width":175,"height":176},8,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/e491df4fa70d9f20ff9295f72a838e73.webp",976,1380,{"page_no":178,"url":179,"width":180,"height":181},9,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/32e173a37c6f8d05001c2aa5e4bb68fb.webp",975,1379,{"page_no":183,"url":184,"width":185,"height":186},10,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/7523da82b56ecd19a7bd70c4e3698fef.webp",974,1378,{"page_no":8,"url":188,"width":189,"height":190},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/b49137f619c226027c17f8fd3b856e8f.webp",973,1376,{"page_no":15,"url":192,"width":193,"height":194},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/efbadce8e8ed6855ff7f6bad8f50647a.webp",972,1375,{"list":196,"token":268},[197,204,212,218,226,233,240,247,254,261],{"doc_id":198,"doc_title":199,"file_type":133,"home_preview_img_url":200,"slug":201,"view_count":202,"category_name":11,"create_tm":203},349264,"COP 3530 Discrete Data Structures and Algorithms - Homework 7","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229911783023/last/442/249?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796525939&Signature=QtF8vHLACX0X9eqm%2BVcZjkiMqj4%3D","cop-3530-discrete-data-structures-and-algorithms-homework-7",24,1790082504,{"doc_id":205,"doc_title":206,"file_type":207,"home_preview_img_url":208,"slug":209,"view_count":210,"category_name":11,"create_tm":211},176598,"M.D. University Rohtak - B.Tech CSE Scheme of Studies and Examination 2019-20 - DBMS and Data Structures & Algorithms (Semester 3 & 4)","docx","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229876148644/last/442/249?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796525939&Signature=Dkn%2B3QxB9R%2F%2BHOi5EPwEpKphplw%3D","md-university-rohtak-btech-cse-scheme-of-studies-and-examination-2019-20-dbms-and-data-structures-algorithms-semester-3-4",26,1788324965,{"doc_id":213,"doc_title":214,"file_type":133,"home_preview_img_url":215,"slug":216,"view_count":45,"category_name":11,"create_tm":217},573426,"Data Structure Operations - Big-O Complexity Chart - Common Algorithms","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229950849567/last/442/249?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796525939&Signature=Rn3Znohq163I%2B4Hgnae5pk9%2B89Q%3D","data-structure-operations-big-o-complexity-chart-common-algorithms",1791939570,{"doc_id":219,"doc_title":220,"file_type":221,"home_preview_img_url":222,"slug":223,"view_count":224,"category_name":11,"create_tm":225},31405,"Free Corporate Strategy PPT Template for Modern Planning","pptx","https://hwc-ap.ag.wps.com/api/thumbnail/3_3e0ab0eade8f44638dc9670371d05328","free-corporate-strategy-ppt-template-for-modern-planning",211,1779442419,{"doc_id":227,"doc_title":228,"file_type":133,"home_preview_img_url":229,"slug":230,"view_count":231,"category_name":11,"create_tm":232},242589,"Internship Tracker Excel Template - Training and Application Tracking","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229894804553/last/442/249?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796525939&Signature=rdeHKI4581c173uh4z3JF5aJ1Ug%3D","internship-tracker-excel-template-training-and-application-tracking",163,1789192497,{"doc_id":234,"doc_title":235,"file_type":221,"home_preview_img_url":236,"slug":237,"view_count":238,"category_name":11,"create_tm":239},31404,"Free Creative Art PPT Template for Abstract Presentations","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229741044046/last/442/249?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796525939&Signature=VBrH0OXAAtHMsGQEQM9rhdKLirA%3D","free-creative-art-ppt-template-for-abstract-presentations",157,1779442210,{"doc_id":241,"doc_title":242,"file_type":221,"home_preview_img_url":243,"slug":244,"view_count":245,"category_name":11,"create_tm":246},54,"Preschool Science Presentation Template","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229690104986/last/442/249?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796525939&Signature=XlncwJ2k8ptuLZd%2FdoOKXlbnXls%3D","preschool-science-presentation-template",135,1775819487,{"doc_id":248,"doc_title":249,"file_type":133,"home_preview_img_url":250,"slug":251,"view_count":252,"category_name":11,"create_tm":253},234838,"English for Professional Communication - Syllabus (UK5SECENG300)","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229893003521/last/442/249?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796525939&Signature=LO%2B6C6xPZult6AT2kZ04gdgodEI%3D","english-for-professional-communication-syllabus-uk5seceng300",113,1789091627,{"doc_id":255,"doc_title":256,"file_type":133,"home_preview_img_url":257,"slug":258,"view_count":259,"category_name":11,"create_tm":260},236663,"Advanced Trauma Life Support - Student Course Manual - Tenth Edition","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229893543663/last/442/249?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796525939&Signature=4pPgLIV2Wq2HBKy0tU961HbAxjg%3D","advanced-trauma-life-support-student-course-manual-tenth-edition",111,1789106924,{"doc_id":262,"doc_title":263,"file_type":221,"home_preview_img_url":264,"slug":265,"view_count":266,"category_name":11,"create_tm":267},31406,"Free Travel Journal PPT Template for Adventure Albums","https://hwc-ap.ag.wps.com/api/thumbnail/3_dfb7a808c36b429da443a5dc532dcd54","free-travel-journal-ppt-template-for-adventure-albums",108,1779442650,"eyJhbGciOiJFUzI1NiIsImtpZCI6IjQ1N2I3ZmM4LTI1OTktNDg0YS05ZTk3LWQxNDYxNmMzNjZiZiIsImtpbmQiOiJvcGVuIiwidHlwIjoiSldUIn0.eyJhaWQiOjg3OTYwOTUxNjU4MDMsImF0cCI6InNwIiwiYXRzIjoiYmw2cHZFSmtEIiwiYnVpIjp0cnVlLCJjaWQiOjAsImNsaSI6IkFLMjAyNjAzMDROTUFXQ0oiLCJjb2EiOjY0LCJleHAiOjE3OTY1MzA4MjMsImpzdCI6ZmFsc2UsInNwaSI6ODc5NjA5NTE2NTgwM30.bsyCjqHHflALkDvg6HMy6AqOanx064yZD8lKXsJIJ8Eu9BWZEVmoP7iYSWhu2Y0RGfPm2x99u493bdmJWr-smA"]