MHB Probability to realize string using subsequences

Click For Summary
The discussion centers on determining the probability of reconstructing an original string from a set of given subsequences. Participants seek clarification on the requirements for the subsequences, including their lengths and structures, to optimize the probability of successfully realizing the original string. There is confusion regarding the definition of "probability of getting the original string," as some subsequences may not meet the necessary criteria. The conversation emphasizes the need for a clear understanding of the problem and the conditions under which the original string can be reconstructed. Overall, the thread highlights the complexities involved in calculating this probability and the importance of precise definitions.
MonD1
Messages
2
Reaction score
0
Given a input string and 'n' random subsequences of that string , what is the probability of realizing original string using these subsequences correctly?

Example :

Given string = "MISSISSIPPI"
Subsequences:
1) "MISS"
2) "III"
3) "MIP"
4) "SIS"
5) "IS"
6 ) "SP"
7) "MP"How many subsequences will be required for optimal probability?
Is there any specific structure for subsequences for optimal probability?
 
Physics news on Phys.org
Re: probability to realize string using subsequences

Can you post what you have tried or what your thoughts are on how to begin? This will give our helpers a better idea how best to help you. :D
 
Re: probability to realize string using subsequences

MarkFL said:
Can you post what you have tried or what your thoughts are on how to begin? This will give our helpers a better idea how best to help you. :D

Input
string of length 'm'
'k' subsequences of the string each of length 'n' (n <m)

What is the probability that by using these subsequences we can come up with the original string?
 
i still don't understand the question. post #1 doesn't appear to have substrings of the same length as you required in post #3.

Its also not clear what you mean by probablility of "getting the original string" from your substrings.
 
First trick I learned this one a long time ago and have used it to entertain and amuse young kids. Ask your friend to write down a three-digit number without showing it to you. Then ask him or her to rearrange the digits to form a new three-digit number. After that, write whichever is the larger number above the other number, and then subtract the smaller from the larger, making sure that you don't see any of the numbers. Then ask the young "victim" to tell you any two of the digits of the...

Similar threads

  • · Replies 17 ·
Replies
17
Views
4K
Replies
4
Views
3K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 9 ·
Replies
9
Views
5K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 3 ·
Replies
3
Views
7K
  • · Replies 75 ·
3
Replies
75
Views
7K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 66 ·
3
Replies
66
Views
7K