点击切换搜索课件文库搜索结果(71)
文档格式:PDF 文档大小:154.55KB 文档页数:29
Solving recurrences The analysis of merge sort from Lecture I required us to solve a recurrence Recurrences are like solving integrals erential equations, etc o Learn a few tricks Lecture 3: Applications of recurrences
文档格式:PDF 文档大小:154.51KB 文档页数:27
The divide-and-conquer design paradigm 1. Divide the problem(instance) into subproblems 2. Conquer the subproblems by solving them recursively 3. Combine subproblem solutions
文档格式:PDF 文档大小:247.06KB 文档页数:47
Quicksort Proposed by C. A.R. Hoare in 1962 Divide-and-conquer algorithm Sorts“ in place”( like insertion sort, but not like merge sort Very practical(with tuning)
文档格式:PDF 文档大小:147.48KB 文档页数:24
Symbol-table problem Symbol table T holding n records
文档格式:PDF 文档大小:229.98KB 文档页数:34
Binary-search-tree sort 7∈ b Create an empty Bst for i=i to n do trEe-INSert(,AiD) Perform an inorder tree walk of t Example:
文档格式:PDF 文档大小:251.95KB 文档页数:29
Balanced search trees Balanced search tree a search-tree data structure for which a height of o(g n)is guaranteed when implementing a dynamic set of n items
文档格式:PDF 文档大小:146.87KB 文档页数:23
Fixed -universe successor problem Goal: maintain a dynamic subset s of size n of the universe 0=10, 1,.,u-1 of size u subject to these operations INSERT(X∈U\\S): Add x to s DELETE(X E S): Remove x from S
文档格式:PDF 文档大小:132.7KB 文档页数:13
Dynamic programming Design technique, like divide-and-conquer Example: Longest Common Subsequence (LCs) Given two sequences x[l.. m] and yll.n], find a longest subsequence common to them both a' not the
文档格式:PDF 文档大小:297.74KB 文档页数:38
Paths in graphs Consider a digraph g=(v, E)with edge-weight function w:E→>R. The weight of path p=v1→ →>…→> vi is defined to be (D)=∑(n,1)
文档格式:PDF 文档大小:159.83KB 文档页数:14
Shortest paths Single-source shortest paths nonnegative edge weights Dijkstra's algorithm: O(E+ vlg n General
12345678下页
热门关键字
搜索一下,找到相关课件或文库资源 71 个  
©2008-现在 cucdc.com 高等教育资讯网 版权所有