.
roulette online algorithm duic