RLDatix Interview Question

solve an basic algorithm in JavaScript