Combine and shuffle list so that element i and i+1 are not equal in Dart

前端 未结 0 1702
猫巷女王i
猫巷女王i 2020-11-28 03:36

I have a list [\'A\',\'B\',\'C\',\'D\',\'E\']. From this list, I will create three new shuffled lists and then combine them to a final list. I don\'t want element i and i+1

相关标签:
回答
  • 消灭零回复
提交回复
热议问题