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
What do you mean by saying "the differences between s and s1 are minimum"?
ReplyDeleteI mean the "usual" meaning defined by the way of the edit distance
ReplyDeleteHow about van emde boas tree ?
ReplyDelete