Home›Algorithm›String Matching and Compression AlgorithmsGroupString Matching and Compression AlgorithmsProcedures for finding patterns in text and for storing text in less space. The Knuth-Morris-Pratt algorithm searches a long string for a word without re-examining characters it has already matched, and Huffman coding builds an optimal prefix code that gives short bit patterns to frequent symbols, which makes it a long-standing method for lossless data compression. Both procedures read a sequence of symbols and exploit its structure, one to avoid repeated work while matching and the other to shorten the stored form of the text.Browse BySourcesComments (0)Reader Challenges (0)Browse ByAll String Matching and Compression AlgorithmsString Matching and Compression Algorithms4 entriesString Matching and Compression AlgorithmsFilter Results4 entriesCategoryAllString Matching and Compression Algorithms (2)Concept KindAllString Matching and Compression Algorithms (2)Origin EraAll1952 (1)1977 (1)Time ComplexityAllLinear Time -- O(n) (1)Invented ByAllCraig Nevill-Manning (1)Donald Knuth (1)Ian H. Witten (1)FieldAllAlgorithms and Complexity Theory (2)Space ComplexityAllLinear (1)GroupAllString Matching and Compression Algorithms (2)Credited ToAllCraig Nevill-Manning (1)Ian H. Witten (1)ACM AreaAllAlgorithms and Complexity Theory (2)Show ResultsBrowseCompareSelect all 4Huffman CodingAlgorithm3 linksKnuth-Morris-Pratt AlgorithmAlgorithm2 linksSequitur algorithmString AlgorithmUnicode collation algorithmString AlgorithmSourcesSequitur algorithm (Wikipedia)Has Member: Sequitur algorithm, IntroductionQuote, Has Member: Sequitur algorithm, IntroductionIt can be used in data compression software applications.View the SourceUnicode collation algorithm (Wikipedia)Has Member: Unicode collation algorithm, LeadQuote, Has Member: Unicode collation algorithm, Leadis a customizable method to produce binary keys from stringsView the SourceWikipedia: Knuth-Morris-Pratt algorithmtier 1Wikimedia FoundationHas Member: Knuth-Morris-Pratt Algorithm, LeadQuote, Has Member: Knuth-Morris-Pratt Algorithm, LeadIn computer science, the Knuth-Morris-Pratt algorithm (or KMP algorithm) is a string-searching algorithm that searches for occurrences of a "word" W within a main "text string" S by employing the observation that when a mismatch occurs, the word itself embodies sufficient information to determine where the next match could begin, thus bypassing re-examination of previously matched characters.View the SourceWikipedia: Huffman codingtier 1Wikimedia FoundationHas Member: Huffman Coding, LeadQuote, Has Member: Huffman Coding, LeadIn computer science and information theory, a Huffman code is a particular type of optimal prefix code that is commonly used for lossless data compression.View the SourceComments (0)No comments yet. Be the first to share a thought.Sign in to join the discussion.Reader Challenges (0)No disputes yet. Spotted an error or a better source? Open the first one.Sign in to dispute this or suggest a correction.