Spotify interview question

Pascal’s triangle