Problem You are given a matrix filled with characters and a string. Task is building a function to find out whether the string exist in the matrix. For example, suppose we have a matrix like following: [ M = left[ begin{array}{rrrrr} A & B & C \ G & D & X \ E & F & Y \ end{array} right] ] and a string “AGDXY”, then the function should return True because the string could be represented by a path in the matrix.
[Read More]
posts
admin
11月 14, 2020
0





近期评论