Divide a list of numbers into group of consecutive numbers
//Dividealistofnumbersintogroupofconsecutivenumbersbuttheiroriginalordershouldbepreserved?//8,2,4,7,1,0,3,6//2,4,1,0,3and8,7,6//obviouslyinshortesttimeandspace.我想到的方法比较土,用set存储所有的值。用iteration指针变量set中的