Newlogic interview question

Difference between grid and flex