May be this stackoverflow link could answer your question, http://stackoverflow.com/questions/746082/how-to-find-list-of-possible-words-from-a-letter-matrix-boggle-solver
On Fri, Jan 18, 2013 at 2:54 AM, Piyush <piyush.to...@gmail.com> wrote: > 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? > > -- > > > -- Thanks and Regards, Raghavan KL --