{ "ch-1" : [ { "function" : "stringcompression", "arguments" : "abbc", "result" : "a2bc" }, { "arguments" : "aaabccc", "result" : "3ab3c" }, { "arguments" : "abcc", "result" : "ab2c" }, { "function" : "stringdecompression", "arguments" : "a2bc", "result" : "abbc" }, { "arguments" : "3ab3c", "result" : "aaabccc" }, { "arguments" : "ab2c", "result" : "abcc" } ], "ch-2" : [ { "function" : "matchsticksquare", "arguments" : [ 1, 2, 2, 2, 1 ], "result" : true }, { "arguments" : [ 2, 2, 2, 4 ], "result" : false }, { "arguments" : [ 2, 2, 2, 2, 4 ], "result" : false }, { "arguments" : [ 3, 4, 1, 4, 3, 1 ], "result" : true } ] }