NVIDIA Interview Question

Write a program that checks if a string is Palindrome.

Interview Answer

Anonymous

Nov 4, 2024

def is_pali(input_str: str): return input_str == input_str[::-1]