Java List distribute into 3 lists

后端 未结 0 1824
感动是毒
感动是毒 2021-01-16 03:22

I would like to distribute one list into 3 lists in order as below.

original = [1,2,3,4,5,6,7,8,9,10]
list1 = [1,6,7]
list2 = [2,5,8]
list3 = [3,4,9,10]


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