A group of ten people require to decide which one flavor of ice cream they will all order, out of three options. The algorithm can question and re-question participants, and present answers to participants, until consensus is reached. This exercise is somewhat more open-ended. Add the assumptions if essential. Obviously, this algorithm might never result in answer.