On 18-Jan-13 1:57 PM, Sairam wrote:

Is it that all characters in a row, column and diagnol should be considered?

For example
 a b c d
 c a t d

In this is cat a valid word?
yes
--



i will elaborate more

e b  a  t
m e m o

valid words
bat
at
be
to
am
me
memo

print them, not required unique list

I will at each (i,j) --search up, down, left and right for words

any better way?

--


Reply via email to