Talk:Balanced brackets: Difference between revisions
→Extension?
Line 10:
:The requirement for an even number of opening and closing brackets seems to be an attempt to make the random generator more likely to produce a string of balanced brackets. The algorithms used tend to end with a check that their are no un-closed brackets when you reach the end of the string so a change would not affect them. --[[User:Paddy3118|Paddy3118]] 06:35, 21 February 2011 (UTC)
::Except the J implementation does not include the second test, except as a footnote, since it was not asked for.
|