NEC Corporation interview question

Basic loops concept and data structure and algorithm.