Tamara interview question

Solve the palindrome problem in Python Design a database for Tamara