Yesterday is history, tomorrow is a mystery, but today is gift. That's why we called it the present. >>>>>>> 点此联系我
摘要: 回溯算法是以深度优先搜索解的方法,以前还不是很熟悉递归,不过今天仔细想了想递归回溯搜索解确实是个简单快速的求解方法,就是有时候想的有点烧脑... 题目:给出abcd...这些字母求他们的全部排列组合 这个实际上用matlab自带的perms函数一下就能求解一个全排列矩阵,然后把1,2,3...这些数 阅读全文
posted @ 2019-04-19 14:34 virter 阅读(1141) 评论(0) 推荐(0) 编辑