Anonymous user
Talk:Balanced brackets: Difference between revisions
→On "Constructing correctly balanced strings": corrected a typo, added a comment.
(added another thread. -- ~~~~) |
(→On "Constructing correctly balanced strings": corrected a typo, added a comment.) |
||
Line 26:
==On "Constructing correctly balanced strings"==
I read the task as being primarily about checking for balanced strings and the generator being part of a check. I was hoping to find comments on how to generate longer strings with equal probability of being balanced or not.
The Tcl
: I created the 3<sup>rd</sup> REXX programming example to generate ''all'' 20-character (or less) random possibilities (over 125,000 permutations). Of course, it didn't list each of the 125,477 unique strings, but it shows a count of balanced ''vs''. unbalanced strings. -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 09:54, 10 September 2015 (UTC)
== usefulness of task ==
|