Wards interview question

Can not remember at all