Finding Maximum Sub Sequence from the string provided.

http://www.careercup.com/question?id=291744