Computing Atlas

How Computing Was Built
Sign In
Text size
100%
Theme
Algorithm

Hirschberg's Algorithm

String Algorithm

Hirschberg's algorithm, named after its inventor Dan Hirschberg, is a dynamic programming algorithm that finds the optimal sequence alignment between two strings, measuring optimality by Levenshtein distance, which quantifies the total cost of the insertions, replacements, deletions and null actions needed to transform one string into another. It is a more space efficient variant of the Needleman-Wunsch algorithm and is widely used in computational biology to find maximal global alignments of DNA and protein sequences.

Facts
Classification
Design Technique
Dynamic Programming 1
Sources
1. Hirschberg's Algorithm (Wikipedia)
https://en.wikipedia.org/wiki/Hirschberg's_algorithm
Quote, https://en.wikipedia.org/wiki/Hirschberg's_algorithm
In computer science, Hirschberg's algorithm, named after its inventor, Dan Hirschberg, is a dynamic programming algorithm that finds the optimal sequence alignment between two strings.
Comments (0)
No comments yet. Be the first to share a thought.
Reader Challenges (0)
No disputes yet. Spotted an error or a better source? Open the first one.