Introduction to Algorithms: A Creative ApproachThis book emphasizes the creative aspects of algorithm design by examining steps used in the process of algorithm development. The heart of the creative process lies in an analogy between proving mathematical theorems by induction and designing combinatorial algorithms. The book contains hundreds of problems and examples. It is designed to enhance the reader's problem-solving abilities and understanding of the principles behind algorithm design. 0201120372B04062001 |
From inside the book
Results 1-3 of 81
Page 195
... perform preWORK on v ; Edge : = v.First ; push v and Edge to the top of the stack ; Parent : = v ; { initialization up to here ; now comes the main loop of the recursion } while the stack is not empty do remove Edge from the top of the ...
... perform preWORK on v ; Edge : = v.First ; push v and Edge to the top of the stack ; Parent : = v ; { initialization up to here ; now comes the main loop of the recursion } while the stack is not empty do remove Edge from the top of the ...
Page 216
... perform the second check for any value of y . If the first check succeeds , then there is no need to perform it again . This change is incorporated in the ( improved ) algorithm presented in Fig . 7.24 . The asymptotic complexity ...
... perform the second check for any value of y . If the first check succeeds , then there is no need to perform it again . This change is incorporated in the ( improved ) algorithm presented in Fig . 7.24 . The asymptotic complexity ...
Page 285
... perform a one - dimensional range query efficiently . Fortunately , there are several data structures for example , balanced trees - that can perform insertions , deletions , and searches in O ( log n ) per operation ( ʼn being the ...
... perform a one - dimensional range query efficiently . Fortunately , there are several data structures for example , balanced trees - that can perform insertions , deletions , and searches in O ( log n ) per operation ( ʼn being the ...
Contents
Introduction | 1 |
Data Structures | 4 |
Mathematical Induction | 9 |
Copyright | |
15 other sections not shown
Common terms and phrases
algorithm to find arbitrary array assume augmenting path AVL tree begin end biconnected components binary search Boolean chapter clique problem colors compute Consider constant contains convex hull corresponding cycle data structure defined delete Design an algorithm DFS numbers efficient algorithm elements example Exercise Figure given in Fig graph G Gray code heap implies induction hypothesis input insert integer intersection length Let G lower bound matching matrix multiplication maximal maximum MCST mergesort minimal natural numbers node NP-complete number of comparisons number of edges O(n log Output parallel algorithms pointer points polygon polynomial possible processors proof prove quicksort recurrence relation reduction remove requires root running Section sequence shortest paths simple solution solve sorting spanning tree step straightforward Strassen's algorithm string strongly connected strongly connected component subgraph subproblems subset subtree techniques theorem total number undirected graph variables vertex cover weighted