Intel Corporation Interview Question

Reach the Nth point of a graph