longest-common-prefix
Here are 13 public repositories matching this topic...
Sort:Most stars
The libsais library provides fast linear-time construction of suffix array (SA), generalized suffix array (GSA), longest common prefix (LCP) array, permuted LCP (PLCP) array, Burrows-Wheeler transform (BWT) and inverse BWT based on the induced sorting algorithm with optional OpenMP support for multi-core parallel construction.
- Updated
Sep 10, 2025 - C
The esa-matchfinder is a C99 library for efficient Lempel-Ziv factorization using enhanced suffix array (ESA).
- Updated
Sep 2, 2025 - C
A longest common prefix library implementation for Go
- Updated
Dec 9, 2020 - Go
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 1: Input: strs = ["flower","flow","flight"] Output: "fl" Example 2: Input: strs = ["dog","racecar","car"] Output: "" Explanation: There is no common prefix among the input strings.
- Updated
Jan 9, 2023
Python C module for creating suffix, LCP and BWT arrays with UTF-8 text.
- Updated
Jul 16, 2019 - C
DNA palindrome may have significant role in DNA replication that are found frequently in human cancer cells. Data Structures - Suffix Array, Longest Common prefix Array.
- Updated
Sep 28, 2017 - C
Leetcode.com Longest Common Prefix Solution [8ms, 19MB memory usage (less than 80%) ]
- Updated
Sep 11, 2022 - PHP
Typescript implementation of trie/digital tree/radix tree/prefix tree/suffix tree.
- Updated
Nov 18, 2023 - TypeScript
This library contains some of the Advanced Data Structures such as van Emde Boas trees, Suffix Trees and other structures.
- Updated
Jul 27, 2025 - Java
Learned as a part of Algorithm Design Course
- Updated
May 13, 2023 - C++
A few programs that I've worked on
- Updated
Jan 29, 2018 - Python
This code shows us how to find the longest common prefix of an array of multiple strings!
- Updated
May 14, 2023 - Java
Improve this page
Add a description, image, and links to thelongest-common-prefix topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with thelongest-common-prefix topic, visit your repo's landing page and select "manage topics."