---
title: "Discussion on \"Longest Common Prefix\" | Hashnode"
description: "Discussion on \"Longest Common Prefix\". Hey, fam! \nThe problem we are working on today is \"Longest Common Prefix\" from Leetcode. The question is to find the longest sequence which is common among all the strings and is present at the start of each string. For example:\nInput - [\"flower\", \"f..."
url: "https://hashnode.com/posts/longest-common-prefix/61e11c6bd546507ab034218d"
---

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

Discussion

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

Hey, fam! The problem we are working on today is "Longest Common Prefix" from Leetcode. The question is to find the longest sequence which is common among all the strings and is present at the start of each string. For example: Input - \["flower", "f...

Jan 14, 2022 · 1 min read · learnandtell.hashnode.dev  
Updated Jan 19, 2022  
Read the article

-   [#codenewbies](https://hashnode.com/tag/codenewbies)
-   [#cpp](https://hashnode.com/tag/cpp)
-   [#learning](https://hashnode.com/tag/learning)
-   [#learn-coding](https://hashnode.com/tag/learn-coding)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)

## Written by

[Aarushi Shanker](https://hashnode.com/@aarushi31)

@aarushi31 · India

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

I love momos :)

I am a MERN stack developer and a 3rd year student of KIIT, Bhubaneswar. I've just started blogging, because why not :) This place is where I strengthen my knowledge and post everything that I learned by building new projects.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
