Find Earliest Fully Connected Time | Google Interview Question