Sainsbury’s interview question

Structs and class differences in swift