Solve Three Algorithmic Problems | Meta Interview Question