Vance
- 180
- 0
I have a string of N characters containing M(<N) words. Can you tell me how many way I can parenthize this string ? :shy:
So so
COOL not kewl
So so
The discussion revolves around the problem of determining the number of ways to parenthesize a string of N characters containing M words, where M is less than N. Participants explore various conditions related to the rules of punctuation, nesting of parentheses, and the implications of these rules on the counting of parenthetical arrangements.
Participants express differing views on the rules governing parentheses, particularly regarding nesting and splitting words. There is no consensus on a definitive formula or method, as various approaches and interpretations are presented.
Limitations include the dependence on the definitions of allowed parenthetical structures and the unresolved nature of the mathematical expressions and formulas discussed.
Vance said:I have a string of N characters containing M(<N) words. Can you tell me how many way I can parenthize this string ? :shy:
So soCOOL not kewl
Healey01 said:Sum(n-i,i,1,n-1)
Vance said:I have a string of N characters containing M(<N) words. Can you tell me how many way I can parenthize this string ? :shy:
So soCOOL not kewl