Quantiphi interview question

Different between agile & waterfall