ServiceNow Interview Question

Magic square and 2 D DP