Apple Interview Question

pivot, unpivot case statements.