RetailMeNot Interview Question

Simple graph algorithms