Revature interview question

Different between list and array list