AffirmedNetworks interview question

Basic programming questions based on List and array