计算思维

计算思维

将现实的问题模型化

  • 枚举法
  • 贪心法 DIJkstra(必考)

image-20221101151748686

image-20221101155527053

image-20221101155555035

一旦该点被标记,就不再计算

如果是相同的节点(1,2,3$1,2,4,3),要做比大小

  • 分治法

  • image-20221101183847280

  • 动态规划法

汉诺塔怎么玩?这可能是最简单的方法了 - 知乎 (zhihu.com)

Donate
  • Copyright: Copyright is owned by the author. For commercial reprints, please contact the author for authorization. For non-commercial reprints, please indicate the source.
  • Copyrights © 2023 Langxecho
  • Visitors: | Views:

请我喝杯咖啡吧~

支付宝
微信