Avery Dennison interview question

Questions in JS