Optum interview question

Graph Programming Integers and Arrays peoblem