Page 2 of 2

Posted: Mon Jan 17, 2005 8:31 pm
by sq
stubbscroll wrote:Try this case, I used it to debug my program:

Code: Select all

1
abaaba

Code: Select all

Case 1: Valid, Unique
My program got it correct.
Gosh... I've spent so much time on this problem... It shouldn't be difficult :(

Posted: Mon Jul 09, 2007 2:20 am
by smilitude
anyone getting confused with the problem statement and misof's definition, plz just re-read this lines, you'll get everything at a glance!
... we find many of the editors and spreadsheet applications using colors or emphasized fonts to show the nesting of the parenthesis structure...
....
We may not have colors but we have different letters.
each bracket is turned into a letter! thats all!
this is good problem in sense of "understanding the problem statement"

Re: 10788 - Parenthesizing Palindromes

Posted: Sat Nov 29, 2014 9:56 pm
by Moad
Here is a good special case:

abcdefgabcdefggfedcbagfedcba


Result :Valid, Unique