questions: cabbage problem 
 answers: explained in details