摘要:
125. Valid Palindrome consider only alphanumeric characters and ignore cases. transform(s.begin(), s.end(), s.begin(), ::tolower);//全变小写 if(!::isalnum 阅读全文
摘要:
115. Distinct Subsequences 96. Unique Binary Search Trees 120. Triangle 123. Best Time to Buy and Sell Stock III 最后用了两遍扫描:从前往后, 从后往前。注意初始赋值。 132. Pali 阅读全文