flowingfog

偶尔刷题

  博客园  :: 首页  :: 新随笔  :: 联系 ::  :: 管理

2018年10月13日

摘要: Write a function to find the longest common prefix string amongst an array of strings. If there is no common prefix, return an empty string "". Exampl 阅读全文
posted @ 2018-10-13 11:26 flowingfog 阅读(209) 评论(0) 推荐(0) 编辑

摘要: Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. An input string is valid if: No 阅读全文
posted @ 2018-10-13 10:53 flowingfog 阅读(145) 评论(0) 推荐(0) 编辑