Equinix Interview Question

One algorithm question and some real work problems