Flutura interview question

pattern printing