Nagarro interview question

Basic Data structure and algorithms questions