Algorithms
文章平均质量分 81
Derek_Tian
生活不只是眼前的苟且,还有诗和远方
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
TSP(旅行者问题)——动态规划详解
原文地址: http://blog.youkuaiyun.com/gfaiswl/article/details/4749713 1.问题定义 TSP问题(旅行商问题)是指旅行家要旅行n个城市,要求各个城市经历且仅经历一次然后回到出发城市,并要求所走的路程最短。 假设现在有四个城市,0,1,2,3,他们之间的代价如图一,可以存成二维表的形式转载 2015-04-15 12:05:46 · 13744 阅读 · 0 评论 -
leetcode 299:Bulls and Cows
题目:https://leetcode.com/problems/bulls-and-cows/ You are playing the following Bulls and Cows game with your friend: You write a 4-digit secret number and ask your friend to guess it, each time you原创 2015-10-31 12:11:14 · 1198 阅读 · 0 评论
分享