From: Ross Bamford Date: 2006-05-05T23:08:02+09:00 Subject: Re: [QUIZ] Bracket Packing (#78) On Fri, 2006-05-05 at 22:52 +0900, Stuart Holden wrote: > Quick question about the phrase 'occasionally missing off a bracket'. Is > it possible to have lost more than one braket missing from the string, > or will it be a case of 0..1 brackets missing? I assume just one. If it > is possible to have more than one bracket missing, you could never trust > what the program was saying, even when the string was valid. > > Ie, [{(B),(B)}] -> [(B),(B)] > Good point. Let's assume just one bracket will be missing, if any. Obviously, to fix it, it needs to go back in the right place. -- Ross Bamford - rosco@roscopeco.REMOVE.co.uk