Skip to main content

14 docs tagged with "string"

View all tags

Aho-Corasick Algorithm

An efficient string searching algorithm that searches for multiple patterns simultaneously using an automaton.

How to reverse the string?

Reversing a string is the process of rearranging the characters in a string so that they appear in the opposite order.

Rolling Hash

A hashing technique used heavily in string matching algorithms like Rabin-Karp.

Suffix Array

A sorted array of all suffixes of a string, extremely useful for fast string queries.

Weighted Word Mapping

Solution to the Weighted Word Mapping problem across C++, JavaScript, Java, and Python with complexity analysis.

What are isomorphic strings.

Isomorphic strings are two strings that can be transformed into each other by a consistent mapping of characters.

Z-Algorithm

A linear time string matching algorithm that finds all occurrences of a pattern in a text.