Friday, September 9, 2011

balance strings

Implement a function string which given a string s consisting of some parenthesis returns a string s1 balanced and the differences between s and s1 are minimum

here the code

3 comments:

  1. What do you mean by saying "the differences between s and s1 are minimum"?

    ReplyDelete
  2. I mean the "usual" meaning defined by the way of the edit distance

    ReplyDelete
  3. How about van emde boas tree ?

    ReplyDelete