Thoughtworks Interview Question

Explain the difference between grid and flex