The round-robin algorithm distributes elements to output streams in a circular order, starting from the output stream with index 0.