Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
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) ?
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.
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