Everything About ___
Live briefing

Everything about Hirschberg's algorithm

Algorithm for aligning two sequences

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. Optimality is measured with the Levenshtein distance, defined to be the sum of the costs of insertions, replacements, deletions, and null actions needed to change one string into the other. Hirschberg's algorithm is simply described as a more space-efficient version of the Needleman–Wunsch algorithm that uses dynamic programming. Hirschberg's algorithm is commonly used in computational biology to find maximal global alignments of DNA and protein sequences. Wikipedia →

đź§­ Start here: a 6-step reading path

  1. Read the overview: Hirschberg's algorithmA 5-minute orientation
  2. Pick up a classic book: Guidance and control 2007The most-reprinted book on the subject
  3. Go sideways: Smith–Waterman algorithmA closely related topic
  4. Go sideways: Needleman–Wunsch algorithmA closely related topic

đź“– Definitions

No dictionary entry for this exact phrase.

🗂️ The subject at a glance

  1. Algorithm information
  2. Algorithm description
  3. Example

🏆 Landmark papers (most cited)

📚 Books worth reading

Ranked by number of editions on Open Library, a rough measure of how lasting a book is.

đź”— Related topics