go语言刷leetcode - 14 Longest Common Prefix
摘要:
func longestCommonPrefix(strs []string) string { if len(strs) == 0 { return "" } if len(strs) == 1 { return strs[0] } for idx := 0; ; idx++ { for i := 0; ... 阅读全文
posted @ 2018-10-09 18:48 于敬晖 阅读(156) 评论(0) 推荐(0) 编辑