Tài liệu Thuật toán Algorithms (Phần 31) docx

Tài liệu Thuật toán Algorithms (Phần 31) docx

Tài liệu Thuật toán Algorithms (Phần 31) docx

... factor N to calculate x and y. But factoring N is thought to be very difficult: the best factoring algorithms known would take millions of years to factor a 200-digit number, using current technology. An ... connections with computer science and al- gorithms, especially the arithmetic and string-processing algorithms that we have studied. Indeed, the art (science?) of cryptology has an in...
Ngày tải lên : 26/01/2014, 14:20
  • 10
  • 290
  • 0
Tài liệu Thuật toán Algorithms (Phần 2) docx

Tài liệu Thuật toán Algorithms (Phần 2) docx

... book. Analysis of Algorithms In this short chapter we’ve already seen three different algorithms for the same problem; for most problems there are many different available algorithms. How is ... need to be studied in order to understand the algorithms. Simple algorithms can give rise to complicated data structures and, conversely, complicated algorithms can use simple data structu...
Ngày tải lên : 15/12/2013, 02:16
  • 10
  • 409
  • 0
Tài liệu Thuật toán Algorithms (Phần 47) docx

Tài liệu Thuật toán Algorithms (Phần 47) docx

... software capabilities certainly can have a significant impact on specific algorithms, but good algorithms on old machines are, for the most part, good algorithms on new machines. One reason for this is that the ... merits further study. The many variants on algorithms for the union-find problem of Chapter are ably categorized and compared by van Leeuwen and The algorithms for shorte...
Ngày tải lên : 15/12/2013, 02:16
  • 10
  • 402
  • 0
Tài liệu Thuật toán Algorithms (Phần 48) docx

Tài liệu Thuật toán Algorithms (Phần 48) docx

... performance of various algorithms, we can look forward to the development of general-purpose parallel computers that will provide improved performance for a wide variety of algorithms. 470 Exercises 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. Outline ... a significant effect on algorithm design, suggest- ing changes that can provide interesting new algorithms and fresh challenges for the algorithm de...
Ngày tải lên : 15/12/2013, 02:16
  • 10
  • 324
  • 0
Tài liệu Thuật toán Algorithms (Phần 53) docx

Tài liệu Thuật toán Algorithms (Phần 53) docx

... something like or to be considered efficient. We’ve generally considered quadratic algorithms to be bad and cubic algorithms to be awful. But for the problems that we’ll consider in this and the ... graph. For all of the algorithms in those chapters, it was possible to arrange the computation so that each node is visited just once, and this leads to very efficient algorithms. For the H...
Ngày tải lên : 15/12/2013, 02:16
  • 10
  • 285
  • 0
Tài liệu Thuật toán Algorithms (Phần 14) docx

Tài liệu Thuật toán Algorithms (Phần 14) docx

... the interface between (potentially complicated) algorithms associated data structures and (a potentially large number of) programs which use the algorithms and data structures. This makes it easier ... 33, we’ll see how priority queues can serve as the basis for several fundamental graph searching algorithms. These are but a few examples of the important role served by the priority queue...
Ngày tải lên : 24/12/2013, 11:15
  • 10
  • 318
  • 0
Tài liệu Thuật toán Algorithms (Phần 27) docx

Tài liệu Thuật toán Algorithms (Phần 27) docx

... the algorithm can be relied upon to take about N + M steps. 254 CHAPTER 19 Multiple Searches The algorithms that we’ve been discussing are all oriented towards a specific string searching problem: ... one of the keys will always be greater than the other.) Then the hashing, binary tree, and other algorithms of the previous section can be used directly. First, an entire structure is built...
Ngày tải lên : 26/01/2014, 14:20
  • 10
  • 529
  • 0
Tài liệu Thuật toán Algorithms (Phần 56) ppt

Tài liệu Thuật toán Algorithms (Phần 56) ppt

... 227. Matching, 443-452, 454. match (general regular-expres- sion pattern matching), 265. Mathematical algorithms, 23-88. Mathematical programming, 497. Matrices. addition, 28-29 (matradd). band, 64. chain ... recursive), 145. Selection sort, 95 (selection), 144, 326. Self-organizing search, 175. Seminumerical algorithms, 88. Sentinel, 106, 173, 273, 309, 329, 96, 247, 254, 493. Separate cha...
Ngày tải lên : 15/12/2013, 02:16
  • 10
  • 725
  • 0
Tài liệu Thuật toán Algorithms (Phần 1) doc

Tài liệu Thuật toán Algorithms (Phần 1) doc

... useful algorithms. The book consists of forty chapters which are grouped into seven major parts: mathematical algorithms, sorting, searching, string processing, geomet- ric algorithms, graph algorithms ... . . Algorithms, Outline of Topics 1. Preview. . . . . . . . . . . . . . . . . . . . . . . Pascal, Euclid’s Algorithm, Recursion, Analysis of Algorithms Implementing Algorithms MA...
Ngày tải lên : 15/12/2013, 02:16
  • 10
  • 557
  • 0
Tài liệu Thuật toán Algorithms (Phần 3) pdf

Tài liệu Thuật toán Algorithms (Phần 3) pdf

... doubles, the running time increases eightfold. Few algorithms with exponential running time are likely to be ap- propriate for practical use, though such algorithms arise naturally as “brute-force” ... effect of the leading term dominates; for small N or for carefully engineered algorithms, more terms may contribute and of algorithms are more difficult. In most cases, we’ll simply ref...
Ngày tải lên : 15/12/2013, 02:16
  • 10
  • 450
  • 0