Google Interview Question

Travelers path problema in c++