Add solution to rightmost char
Solution to minimum path