Insight Global Interview Question

didn't really find any difficult