Skip to main content
Ilhan's user avatar
Ilhan's user avatar
Ilhan's user avatar
Ilhan
  • Member for 7 years, 11 months
  • Last seen more than 1 year ago
  • Bosnia and Herzegovina
awarded
awarded
awarded
comment
Mean length of the longest substring (not sequence) of a random string
So it would be the expected wait time of that occourance
comment
Mean length of the longest substring (not sequence) of a random string
Are you sure it is the same as the longest expected occourance of H coin flips? It is allowed for the common substring to be HTHHTHT.. in that analogy
comment
Mean length of the longest substring (not sequence) of a random string
Yes! @PatDevlin.. Assuming q = 2 and N = 100 (for example) what would be the expected longest common substring
revised
Loading…
comment
Mean length of the longest substring (not sequence) of a random string
Maybe I should remove the increasing part. What I've meant with increasing is that as N is increasing, the expected average mean length of the longest common substring grows as what function f(N, q) ?
revised
Loading…
awarded
comment
Mean length of the longest substring (not sequence) of a random string
I've added additional examples to clarify. Also added "another" way to state the given problem. Is everything clear now?
revised
Loading…
revised
Loading…
comment
Mean length of the longest substring (not sequence) of a random string
Please state if anything else is left unclear and needs clarification so I can edit my post!
comment
Mean length of the longest substring (not sequence) of a random string
Sorry all the misunderstandings are due to my English.. I've edited and corrected everything. Permutation was a bad word to use. With concrete I mean any paper which I can use for referencing (best'd be published) i.e. "this is proven in ... [1]" Refferences: [1] this and this paper, pp. xyz.. @MattF.
awarded
revised
Loading…
comment
Mean length of the longest substring (not sequence) of a random string
thw longest consecutive piece in both strings is ABC
comment
Mean length of the longest substring (not sequence) of a random string
With LCS I meant longest common substring not subsequence. What you say counts for subsequences but in a substring it wont be "ABCD" since X is in between ABC and D