CirrusLabs interview question

In python, palindrome, leap year and in SQL, joins.