Droidshift interview question

Print pyramid pattern, Floyd's triangle.