solve substring_diff