The Data Team interview question

Node program in for array