All Substring Help required

Why my solution get WA :frowning_face:? Pleas help me !!
Thanks in advance! :wink: :wink:

problem: this
my solution : this

2 Likes