Details

A Textbook of Data Structures and Algorithms, Volume 2


A Textbook of Data Structures and Algorithms, Volume 2

Mastering Nonlinear Data Structures
1. Aufl.

von: G. A. Vijayalakshmi Pai

126,99 €

Verlag: Wiley
Format: EPUB
Veröffentl.: 19.01.2022
ISBN/EAN: 9781394192038
Sprache: englisch
Anzahl Seiten: 304

DRM-geschütztes eBook, Sie benötigen z.B. Adobe Digital Editions und eine Adobe ID zum Lesen.

Beschreibungen

<p>Data structures and algorithms is a fundamental course in Computer Science, which enables learners across any discipline to develop the much-needed foundation of efficient programming, leading to better problem solving in their respective disciplines.</p> <p><i>A Textbook of Data Structures and Algorithms</i> is a textbook that can be used as course material in classrooms, or as self-learning material. The book targets novice learners aspiring to acquire advanced knowledge of the topic. Therefore, the content of the book has been pragmatically structured across three volumes and kept comprehensive enough to help them in their progression from novice to expert.</p> <p>With this in mind, the book details concepts, techniques and applications pertaining to data structures and algorithms, independent of any programming language. It includes 181 illustrative problems and 276 review questions to reinforce a theoretical understanding and presents a suggestive list of 108 programming assignments to aid in the implementation of the methods covered.</p>
<p>Preface ix</p> <p>Acknowledgments xv</p> <p><b>Chapter 8 Trees and Binary Trees 1</b></p> <p>8.1 Introduction 1</p> <p>8.2 Trees: definition and basic terminologies 1</p> <p>8.2.1 Definition of trees 1</p> <p>8.2.2 Basic terminologies of trees 2</p> <p>8.3 Representation of trees 3</p> <p>8.4 Binary trees: basic terminologies and types 6</p> <p>8.4.1 Basic terminologies 6</p> <p>8.4.2 Types of binary trees 7</p> <p>8.5 Representation of binary trees 8</p> <p>8.5.1 Array representation of binary trees 8</p> <p>8.5.2 Linked representation of binary trees 10</p> <p>8.6 Binary tree traversals 11</p> <p>8.6.1 Inorder traversal 12</p> <p>8.6.2 Postorder traversal 16</p> <p>8.6.3 Preorder traversal 19</p> <p>8.7 Threaded binary trees 22</p> <p>8.7.1 Linked representation of a threaded binary tree 24</p> <p>8.7.2 Growing threaded binary trees 24</p> <p>8.8 Applications 25</p> <p>8.8.1 Expression trees 26</p> <p>8.8.2 Traversals of an expression tree 27</p> <p>8.8.3 Conversion of infix expression to postfix expression 27</p> <p>8.8.4 Segment trees 31</p> <p>8.9 Illustrative problems 42</p> <p><b>Chapter 9 Graphs 61</b></p> <p>9.1 Introduction 61</p> <p>9.2 Definitions and basic terminologies 63</p> <p>9.3 Representations of graphs 75</p> <p>9.3.1 Sequential representation of graphs 76</p> <p>9.3.2 Linked representation of graphs 80</p> <p>9.4 Graph traversals 81</p> <p>9.4.1 Breadth first traversal 81</p> <p>9.4.2 Depth first traversal 83</p> <p>9.5 Applications 87</p> <p>9.5.1 Single source shortest path problem 87</p> <p>9.5.2 Minimum cost spanning trees 90</p> <p>9.6 Illustrative problems 97</p> <p><b>Chapter 10 Binary Search Trees and AVL Trees 115</b></p> <p>10.1 Introduction 115</p> <p>10.2 Binary search trees: definition and operations 115</p> <p>10.2.1 Definition 115</p> <p>10.2.2 Representation of a binary search tree 116</p> <p>10.2.3 Retrieval from a binary search tree 117</p> <p>10.2.4 Why are binary search tree retrievals more efficient than sequential list retrievals? 118</p> <p>10.2.5 Insertion into a binary search tree 120</p> <p>10.2.6 Deletion from a binary search tree 122</p> <p>10.2.7 Drawbacks of a binary search tree 125</p> <p>10.2.8 Counting binary search trees 128</p> <p>10.3 AVL trees: definition and operations 130</p> <p>10.3.1 Definition 131</p> <p>10.3.2 Retrieval from an AVL search tree 132</p> <p>10.3.3 Insertion into an AVL search tree 133</p> <p>10.3.4 Deletion from an AVL search tree 141</p> <p>10.3.5 R category rotations associated with the delete operation 146</p> <p>10.3.6 L category rotations associated with the delete operation 150</p> <p>10.4 Applications 151</p> <p>10.4.1 Representation of symbol tables in compiler design 151</p> <p>10.5 Illustrative problems 154</p> <p><b>Chapter 11 B Trees and Tries 175</b></p> <p>11.1 Introduction 175</p> <p>11.2 m-way search trees: definition and operations 176</p> <p>11.2.1 Definition 176</p> <p>11.2.2 Node structure and representation 176</p> <p>11.2.3 Searching an m-way search tree 178</p> <p>11.2.4 Inserting into an m-way search tree 178</p> <p>11.2.5 Deleting from an m-way search tree 179</p> <p>11.2.6 Drawbacks of m-way search trees 184</p> <p>11.3 B trees: definition and operations 184</p> <p>11.3.1 Definition 184</p> <p>11.3.2 Searching a B tree of order m 186</p> <p>11.3.3 Inserting into a B tree of order m 186</p> <p>11.3.4 Deletion from a B tree of order m 190</p> <p>11.3.5 Height of a B tree of order m 194</p> <p>11.4 Tries: definition and operations 195</p> <p>11.4.1 Definition and representation 195</p> <p>11.4.2 Searching a trie 197</p> <p>11.4.3 Insertion into a trie 197</p> <p>11.4.4 Deletion from a trie 198</p> <p>11.4.5 Some remarks on tries 200</p> <p>11.5 Applications 200</p> <p>11.5.1 File indexing 201</p> <p>11.5.2 Spell checker 203</p> <p>11.6 Illustrative problems 204</p> <p><b>Chapter 12 Red-Black Trees and Splay Trees 215</b></p> <p>12.1 Red-black trees 215</p> <p>12.1.1 Introduction to red-black trees 215</p> <p>12.1.2 Definition 216</p> <p>12.1.3 Representation of a red-black tree 219</p> <p>12.1.4 Searching a red-black tree 220</p> <p>12.1.5 Inserting into a red-black tree 220</p> <p>12.1.6 Deleting from a red-black tree 228</p> <p>12.1.7 Time complexity of search, insert and delete operations on a red-black tree 236</p> <p>12.2 Splay trees 236</p> <p>12.2.1 Introduction to splay trees 236</p> <p>12.2.2 Splay rotations 237</p> <p>12.2.3 Some remarks on amortized analysis of splay trees 242</p> <p>12.3 Applications 244</p> <p>12.4 Illustrative problems 245</p> <p>References 261</p> <p>Index 263</p> <p>Summaries of other volumes 265</p>
<p><b>G A Vijayalakshmi Pai</b> SMIEEE is a Professor of Computer Applications at PSG College of Technology, Coimbatore, India. She has authored books and investigated research projects funded by government agencies in the disciplines of Computational Finance and Computational Intelligence.</p>

Diese Produkte könnten Sie auch interessieren:

Bandwidth Efficient Coding
Bandwidth Efficient Coding
von: John B. Anderson
PDF ebook
114,99 €
Bandwidth Efficient Coding
Bandwidth Efficient Coding
von: John B. Anderson
EPUB ebook
114,99 €