Think of a clock with a minute hand and an hour hand, is there a way to spin the hands without the two hands ever converging on the same number? Now add a second hand, do the hands all still converge? We can continuously do this.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Can you please explain why this algorithm is correct on any graph?
Think of a clock with a minute hand and an hour hand, is there a way to spin the hands without the two hands ever converging on the same number? Now add a second hand, do the hands all still converge? We can continuously do this.