Indycium interview question

In coding Pattern printing,In system design schema,