Unisys interview question

it was as per the resume. basic python program - find leap year | reverse string | count frequency of each word in sentence. difference b/w sanity and regression testing.