VassarLabs interview question

Two programming questions one is pattren printing and basic program on arraya