Log In · Register

 
comp sci problem, logic, not language
azndreamer
post Nov 20 2005, 10:39 PM
Post #1


Senior Member
****

Group: Member
Posts: 126
Joined: Jun 2004
Member No: 20,447



okay, so were doing recursion write now and our program is that we're onna be given a grid with letters in it and a string

For example:

h h h h h h
h h a a h h h
h h n n h h * grids can be regular or irregular
h h n n h h
h h a a h h h
h h h h h h

String = "hannah"

We have to count every possible way to spell hannah out of that and you are allowed to use a letter twice like for hannah you can use the same a and so on

anyone have any idea for an algorithm or formula to solve this?

it doesnt have to be in language just the logic of it


PLZ AND THANK YOU!


definately due this week dunno when for sure
 

Posts in this topic
azndreamer   comp sci problem   Nov 20 2005, 10:39 PM
mzkandi   QUOTE(azndreamer @ Nov 20 2005, 10:39 PM)defi...   Nov 23 2005, 02:52 PM


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: