摘要: 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 @ 2020-04-21 22:21 鸭子船长 阅读(180) 评论(0) 推荐(0)
摘要: 题目描述: Given n non-negative integers a1 , a2 , ..., an , where each represents a point at coordinate (i, ai ). n vertical lines are drawn such that the 阅读全文
posted @ 2020-04-21 22:08 鸭子船长 阅读(199) 评论(0) 推荐(0)