{ "ch-1" : [ { "function" : "consecutivesequence", "arguments" : [ 10, 4, 20, 1, 3, 2 ], "result" : 4 }, { "arguments" : [ 0, 6, 1, 8, 5, 2, 4, 3, 0, 7 ], "result" : 9 }, { "arguments" : [ 10, 30, 20 ], "result" : -1 } ], "ch-2" : [ { "function" : "nextpermutation", "arguments" : [ 1, 2, 3 ], "result" : [ 1, 3, 2 ] }, { "arguments" : [ 2, 1, 3 ], "result" : [ 2, 3, 1 ] }, { "arguments" : [ 3, 1, 2 ], "result" : [ 3, 2, 1 ] } ] }