Yes.
Yes.
Yes.
Look at some strings and decide if they are equal. Two strings are equal if they are the same length and have the same characters in the same order.
String | Yes/No |
---|---|
is "apple" equal to "apple" ? | |
is "apple cart" equal to "applecart" ? | |
is "Apple" equal to "apple" ? | |
is "apple" equal to "" ? | |
is "" equal to "" ? |
Is this string: "Xqovrfiwur0 ksduiowojsdsxx yyyx ,.sd+^% xanpo ,,woath wu,bny"
equal to this string: "Xqovrfiwur0 ksduiowojsdsxx yyyx ,.sd+^% xanpo ,,woath wu,bny" ?
Hint: the tails of the two strings are equal.