从数组中查找路径 [英] Finding paths from arrays

查看:73
本文介绍了从数组中查找路径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

给出n x n矩阵如何从开始"条目中找到所有路径
使用C#复制到Destination条目,例如,如果我们使用14 x 14矩阵
您如何找到从0条目到14条目的所有路径

given a n by n Matrix how do you find all the paths from the Start entry
to the Destination entry using C# e.g if we are using a 14 by 14 Matrix
how do you find all the paths from 0 entry to 14 entry

推荐答案

m[0][0]m[13][13]的所有路径都是40116600,您真的想要所有其中列出了?
:)
From m[0][0] to m[13][13] there are 40116600 paths, do really you want all of them listed?
:)


这篇关于从数组中查找路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆