Tokopedia interview question

Make pascal triangle using addition from previous layer