Snovasys interview question

they give 2 Pattern question