Questions from this loop
Coding Interview Problem: LeetCode 1101: The Earliest Moment When Everyone Become Friends.