Why it matters
Hirschberg saves memory. Understanding shapes bio DP.
Advertisement
The architecture
Compute midpoint of alignment via O(m+n) space DP.
Recurse on two halves.
Advertisement
How it works end to end
Same alignment quality as full-space.
Similar time complexity.
Standard for long sequences.