Zeta interview question

One hard and one medium level string based question from leetcode.