かずとよのアウトプット日記

開発エンジニアを目指しています。

2021-04-14から1日間の記事一覧

leet code : Longest_Common_Prefix

こんにちは。かずとよです。 本日も、leetcode解いていきます! 早速、問題文の原文が以下。 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 "". Example …