feuyeux / hello-queue

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Please design a produce/consume program, the producer will generate 10 random int numbers(from 1 to 20), every 5 seconds, and the consumer will sort it, remove the duplicated one and print the top 5.

  • queue/channel
  • random
  • sort unique top
  • period/schedule task

About


Languages

Language:Java 70.9%Language:Go 17.3%Language:Rust 11.8%