General Motors (GM) Interview Question

Adjacency Matrix Least Common Multiple