摘要:
Write a function to find the longest common prefix string amongst an array of strings.方法一: 1 class Solution { 2 public: 3 string longestCommonPref... 阅读全文
摘要:
Given a stringsand a dictionary of wordsdict, determine ifscan be segmented into a space-separated sequence of one or more dictionary words.For exampl... 阅读全文