Suppose you are given a string IAMABOY

and a dictionary then divide it into I AM A BOY if it is possible to break
form as many dictionary words from a string give....M able to solve it..but
how if we are given a string like IXAFGMJAHBDSOXDY.

how can we form I AM A BOY..will be done in Opower(2,n)..for every
character we consider it and not and form 2 ways...plz anyone shre the code
for this approach...if the word is not a cotiguous subarray..

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to