---
title: "Discussion on \"LeetCode 14 - Longest Common Prefix\" | Hashnode"
description: "Discussion on \"LeetCode 14 - Longest Common Prefix\". Statement\nThe problem requires to find the longest common prefix string amongst an array of strings. If there is no common prefix, return an empty string \"\".\nA prefix is a sequence of characters that"
url: "https://hashnode.com/posts/leetcode-14-longest-common-prefix/6a4801d7246ed7ee35bc3ffc"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [LeetCode 14 - Longest Common Prefix](https://haunguyen.hashnode.dev/leetcode-14-longest-common-prefix?utm_source=hashnode&utm_medium=feed)

Statement The problem requires to find the longest common prefix string amongst an array of strings. If there is no common prefix, return an empty string "". A prefix is a sequence of characters that

Jul 3 · 3 min read · haunguyen.hashnode.dev  
Read the article

-   [#algorithms](https://hashnode.com/tag/algorithms)

## Written by

[Hau Nguyen Phuc](https://hashnode.com/@haungph)

@haungph · Ho Chi Minh City, Vietnam

  
[View profile](https://hashnode.com/@haungph)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
