Aurus interview question

Mainly on logical ability and printing patterns.