PwC interview question

Sorting based and dbms normalization stuffs