aPriori Interview Question

2d polygons and graph algorithm questions