Solutions to String related algorithms.