Istalgan uzunlikdagi satr berilgan bo`lib, satrning oxirgi ikkita belgisini o`rnini almashtirgan holatdagi yangi satr qaytaring. Masalan: “coding”dan “codign” satri qaytadi.
String-1 > seeColor
prev | next | chance
String-1 > frontAgain
prev | next | chance
Given a string, return true if the first 2 chars in the string also appear at the end of the string, such as with "edited".
|
Do'stlaringiz bilan baham: |