Indycium Interview Question

In coding Pattern printing,In system design schema,