IncredibleThings

导航

2016年4月5日 #

LeetCode-Longest Common Prefix

摘要: Write a function to find the longest common prefix string amongst an array of strings. public class Solution { public String longestCommonPrefix(String[] strs) { if(strs==null && strs.lengt... 阅读全文

posted @ 2016-04-05 05:59 IncredibleThings 阅读(141) 评论(0) 推荐(0) 编辑