Juego Studios interview question

In technical interview they asked to write a program to print the given pattern.