Middle
19
def is_palindrome(string_to_check: str) -> bool: sol, sag = 0, len(string_to_check) while sol < sag: while sol < sag and not string_to_check[sol]: sol += 1 while sol < sag and not string_to_check[sag]: sag -= 1
Şirkətlər soruşuldu
Sapiens Solutions