Unify Interview Question

It was a easy coding round only 2 questions were asked