Ad

Monday, March 12, 2018

Clean Check Is Palindrome Implementation with Python

def is_palin(string, i, j): 
 while j > i: 
   if string[i] != string[j]: 
     return False
       i += 1
       j -= 1

No comments:

Post a Comment

Trie - Insert and Search | GeeksforGeeks

Implement Trie.