摘要:
Write a function to find the longest common prefix string amongst an array of strings. 阅读全文
摘要:
罗马数字转为阿拉伯数字 Given a roman numeral, convert it to an integer. Input is guaranteed to be within the range from 1 to 3999. 阅读全文
摘要:
括号匹配判断,关键思想:利用一个栈来保存前括号,然后有后括号来时弹出栈顶来判断。 阅读全文