Update DifferentSubstrings.cpp