it's clear what this method is doing but maybe javadoc _how_ it's doing it? It looks like it's kind of trying to find the furthest path through the string it was able to make and report on it, but it'd help if it were explained better.