Softsquare interview question

matric programming , patterns , arrays...