 |
|
Home:
Perl Programming Help:
Beginner:
Recursive functions (an algorithm question):
Edit Log
|
|

siskos1
Novice
Mar 24, 2010, 9:39 PM
Views: 1692
|
|
Recursive functions (an algorithm question)
|
|
|
hello everybody; i am stuck in a problem. it is a kind of dynamic programming. it is a string alignment problem but it resembles like; "writing all possible combinations of numbers that can be divided by 3 and/or 4" for up to 12; 12 9 8 6 4 3 / 12 9 8 6 4/ 12 9 8 6 3/ ..../ 12 8 6 4/ .../ 9 6 4/... / 6 4 3/ 6 4/ 6 3/ 4 3/ 4 / 3 / all combinations. if you have any suggestions or can show me similar problems, i will be pleased. thanks in advance. in fact real question is like printing out all possible combinations that doesnt have consecutive 4 missing numbers in it. any help will be great.
(This post was edited by siskos1 on Mar 24, 2010, 9:42 PM)
|
|
|
Edit Log:
|
|
Post edited by siskos1
(Novice) on Mar 24, 2010, 9:42 PM
|
|
Post edited by siskos1
(Novice) on Mar 24, 2010, 9:42 PM
|
|
|  |