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,7]]]
|
|
|
|
---------Dense
|
|
|
|
[1,2,1,3]
|
|
|
|
[1,2,1,3]
|
|
|
|
[[[1,2,3],[1,2,3],[1,2,3]],[[1,2,3],[1,2,3],[1,2,3]],[[1,2]]]
|
|
|
|
[[[1,2,3],[1,2,3],[1,2,3]],[[1,2,3],[1,2,3],[1,2,3]],[[1,2]]]
|
|
|
|
[[[1,2,3],[1,2,3],[1,2,3]],[[1,2,3],[1,2,3],[1,2,3]],[[1,2]]]
|
|
|
|
[[1,1,1],[1,1,1],[1]]
|
|
|
|
[[1,1,1],[1,1,1],[2]]
|
|
|
|
[1,1,2]
|
|
|
|
---------table
|
|
|
|
[1,1,1] [1,1,1] [[1,1,1],[1,1,1],[1]] [[1,1,1],[1,1,1],[1]]
|
|
|
|
[1,2,3] [2,2,1] [[1,2,3,4],[2,2,1],[3]] [[1,2,4,4],[2,2,1],[3]]
|
|
|
|
[1,2,3] [4,5,6] [[7,8,9],[10,11,12],[13]] [[14,15,16],[17,18,19],[20]]
|
|
|
|
[21,22,24] [22,22,21] [[21,22,23,24],[22,22,21],[23]] [[21,22,25,24],[22,22,21],[23]]
|
|
|
|
[31,32,33] [32,32,31] [[31,32,33,34],[32,32,31],[33]] [[31,32,34,34],[32,32,31],[33]]
|
|
|
|
[41,42,43] [42,42,41] [[41,42,43,44],[42,42,41],[43]] [[41,42,44,44],[42,42,41],[43]]
|
|
|
|
---------GO1
|
|
|
|
1,a1,1 [1,2,3]
|
|
|
|
1,a1,1 [1,1,1]
|
|
|
|
1,a1,1 [1,1,1]
|
|
|
|
1,a1,1 [1,1,1]
|
|
|
|
1,a1,1 [1,1,1]
|
|
|
|
1,a1,1 [1,1,1]
|
|
|
|
1,a2,1 [1,2,3]
|
|
|
|
1,a2,1 [1,2,1]
|
|
|
|
1,a2,1 [1,1,1]
|
|
|
|
1,a2,1 [1,2,1]
|
|
|
|
1,a2,1 [1,2,1]
|
|
|
|
1,a2,1 [1,2,1]
|
|
|
|
1,a3,1 [1,2,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
|
|
|
2,a3,1,a4,2 [[1,1,1,2],[1,2,1],[1]]
|
|
|
|
2,a3,1,a4,2 [[1,1,1],[1,1,1],[1]]
|
|
|
|
2,a3,1,a4,2 [[1,1,1,1],[1,2,1],[1]]
|
|
|
|
2,a3,1,a4,2 [[1,1,1,2],[1,2,1],[1]]
|
|
|
|
2,a3,1,a4,2 [[1,1,1,2],[1,2,1],[1]]
|
|
|
|
---------END
|
|
|
|
---------BAD
|
|
|
|
[]
|
|
|
|
[]
|
|
|
|
[]
|
|
|
|
[1,2]
|
|
|
|
[1,1]
|
|
|
|
[[[[[[[[[[1]]]]]]]]]]
|
2019-06-07 17:37:01 +00:00
|
|
|
[[1],[1]]
|
|
|
|
[[],[1],[1]]
|
|
|
|
[[],[],[],[1],[],[1]]
|
|
|
|
[[],[],[],[],[1],[1]]
|
|
|
|
[[1],[],[1]]
|
|
|
|
[[1],[],[],[1]]
|
|
|
|
[[1],[],[],[1],[1]]
|
|
|
|
-- no order
|
|
|
|
[[],[1,2,3,4]] [[],[1,1,1,1]]
|
|
|
|
[[3,4,5]] [[1,1,1]]
|
|
|
|
-- order no arr
|
|
|
|
[[1,2,3,4]] [[1,1,1,1]]
|
|
|
|
[[3,4,5]] [[1,1,1]]
|
|
|
|
-- order two arr
|
|
|
|
[[],[1,2,3,4]] [[],[1,1,1,1]]
|
|
|
|
[[],[3,4,5]] [[],[1,1,1]]
|
|
|
|
-- order non empt
|
|
|
|
[[3,4,5]] [[1,1,1]]
|
|
|
|
[[6],[1,2,3,4]] [[1],[1,1,1,1]]
|
|
|
|
-- order
|
|
|
|
[[],[1,2,3,4]] [[],[1,1,1,1]]
|
|
|
|
[[3,4,5]] [[1,1,1]]
|
|
|
|
--
|
|
|
|
[[1,1,1,1],[1,1,1,1]]
|
|
|
|
[[],[1,1,1,1],[1,1,1,1]]
|
|
|
|
[[],[1,1,1,1],[],[],[1,1,1,1]]
|
|
|
|
[[1,1,1,1],[],[],[1,1,1,1]]
|
|
|
|
[[1],[1]]
|
|
|
|
[[],[1],[1]]
|
|
|
|
[[],[4]] [[],[1]]
|
|
|
|
[[4]] [[1]]
|
|
|
|
--
|
|
|
|
[[],[1,2,3,4]] [[],[1,1,1,1]]
|
|
|
|
[[],[3,4,5]] [[],[1,1,1]]
|
|
|
|
--
|
|
|
|
[[],[1,2,3,4]] [[],[1,1,1,1]]
|
|
|
|
[[3,4,5]] [[1,1,1]]
|
|
|
|
--
|
|
|
|
[[],[],[1,2,3,4]] [[],[],[1,1,1,1]]
|
|
|
|
[[3,4,5]] [[1,1,1]]
|
|
|
|
--
|
|
|
|
[[],[],[1,2,3,4]] [[],[],[1,1,1,1]]
|
|
|
|
[[],[],[3,4,5]] [[],[],[1,1,1]]
|
|
|
|
--
|
|
|
|
[[],[],[1,2,1,4]] [[],[],[1,1,2,1]]
|
|
|
|
[[],[],[3,4,5,4]] [[],[],[1,1,1,2]]
|
|
|
|
--
|