gaylemcd/ctci — pull request #45 by filannim (2014-06-09 12:16:36+00:00)
Title: Corrected

The previous solution didn't work for string containing duplicated repetitions. Eg. abaaabaa