Meta interview question

first round: check whether a String is palindrome Second round: 3Sum