Pexlify interview question

Given a table(s) normalize it.