Solve Two String Problems | Meta Coding Question