Let me first apologise for the crude manner in which I am about to phrase my question. I have been refered here by a member on another site who tells me that i am looking for a dynamic programming algorithm....my question is as follows.
I am trying to sort through some data and need to find a possible sequence in the numbers Both sets of data include the same numbers listed in different orders as in the example below.
54 47 33 58 46 38 48 37 56 52 61 25 ………………first set
54 52 33 61 38 58 37 25 48 56 47 46 ………………second set
In this example Reading from left to right the numbers 54 52 61 and 25 occur in both sets in the same order.
So other possible solutions would be…
54 52 61 25
54 33 58 46
54 33 46
54 33 38 48 56
54 48 56…. Etc.
Although this can be done by hand, I have tons of this to get through and I keep making mistakes. Does anyone know of an existing program or script that would output all of the possible solutions?
我理解了C++和虚拟基本方案的基本结构,并且应当能够把一些东西合在一起,但坦率地说,自Cx谱日以来,我没有做过任何严肃的方案,因此,我很容易听。 然而,我的主要问题不是方案语言本身,而是由于某种原因,我发现不可能按英文,更不用说其他语言,列出完成这项任务所需的步骤。
达累斯萨拉姆