ServiceNow interview question

write code for Pascal triangle.