Blu Smart interview question

It was a array based question and a graph based easy question.