Booking.com interview question

Questions about pascal triangle.