Anonymous user
Talk:Balanced brackets: Difference between revisions
→Extension?: Others correct.
(→Extension?: What about characters that are not brackets?) |
(→Extension?: Others correct.) |
||
Line 15:
:What about characters that are not brackets? I added a Ruby solution that ''rejects'' "[letters]" because the task wants a string that "consists entirely of pairs of opening/closing brackets". But most of the other solutions on the page ''accept'' "[letters]" because they ignore other characters. The generated strings never have other characters. --[[User:Kernigh|Kernigh]] 21:05, 21 February 2011 (UTC)
::According to the task description, as you've stated, you would never get other letters to accept. --[[User:Paddy3118|Paddy3118]] 21:26, 21 February 2011 (UTC)
|