Random commentary about Machine Learning, BigData, Spark, Deep Learning, C++, STL, Boost, Perl, Python, Algorithms, Problem Solving and Web Search
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
3 comments:
What do you mean by saying "the differences between s and s1 are minimum"?
Reply DeleteI mean the "usual" meaning defined by the way of the edit distance
Reply DeleteHow about van emde boas tree ?
Reply Delete