Leader election in a distributed system requires all
nodes in the ring to choose one among them to be a leader.
The existence of a leader can simplify coordination among nodes.
This problem is important in achieving fault-tolerance and saving resources.