摘要:
Given a string, you need to reverse the order of characters in each word within a sentence while still preserving whitespace and initial word order. 阅读全文
摘要:
Write a function to find the longest common prefix string amongst an array of strings. 这个问题是关于如何寻找字符串数组的公共前缀的,从第一个字母开始,只要共有的都要输出。 思路: 1.首先,如何得到字符串共有前缀 阅读全文