greedy.pptVIP

  • 8
  • 0
  • 约7.42千字
  • 约 29页
  • 2016-08-21 发布于河南
  • 举报
greedy

Algorithm Design Techniques: Greedy Algorithms Introduction Algorithm Design Techniques Design of algorithms Algorithms commonly used to solve problems Greedy, Divide and Conquer, Dynamic Programming, Randomized, Backtracking General approach Examples Time and space complexity (where appropriate) Greedy Algorithms Choose the best option during each phase Dijkstra, Prim, Kruskal Making change Choose largest bill at each round Does this always work? Bad examples where greedy does not work? Greedy Algorithms Must have Greedy-choice property: a globally optimal solution can be arrived at by maki

文档评论(0)

1亿VIP精品文档

相关文档