Pergunta de entrevista da empresa ZopSmart

How to traverse the m*n matrix for find the number? Basics of javascript like primitive, non primitive. How nodejs vs java