摘要:
1:题目描述 Write a function to find the longest common prefix string amongst an array of strings. 找出字符串数组中最长的公共前缀 2:题目分析 先设定第一个字符串为最长前缀,依次向后比较,将‘最长前缀’一点点截 阅读全文
posted @ 2018-02-01 17:48
vlice
阅读(122)
评论(0)
推荐(0)
摘要:
1:题目描述 Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. The brackets must close 阅读全文
posted @ 2018-02-01 09:46
vlice
阅读(95)
评论(0)
推荐(0)

浙公网安备 33010602011771号