Csd 1.1.4; VERSION ${PROJECT_VERSION}
Loading...
Searching...
No Matches
Namespaces | Functions
lcsre.hpp File Reference

Longest Common Substring with Repeated Elements. More...

#include <string>
Include dependency graph for lcsre.hpp:

Go to the source code of this file.

Namespaces

namespace  csd
 

Functions

auto csd::longest_repeated_substring (const char *sv, size_t len) -> std::string
 Find the longest repeated non-overlapping substring.
 

Detailed Description

Longest Common Substring with Repeated Elements.

This module provides functionality for finding the longest repeated non-overlapping substring in a given string. This is useful for pattern recognition, sequence analysis, and string compression algorithms.

The algorithm uses dynamic programming with optimized space complexity to efficiently find repeated patterns without allowing overlaps.