Global alignment in linear space

Sign in to test your solution.