Fix for rogerzhang method
Minimum sequence improvements.
isSubstring works with empty substring.