XYZ Interview Question

basic core concepts