diff --git a/riddles/q004.json b/riddles/q004.json new file mode 100644 index 0000000..d2be643 --- /dev/null +++ b/riddles/q004.json @@ -0,0 +1,51 @@ +{ + "id": "q004", + "title": "Side by side", + "examples": [ + { + "input": [ + "210", + "020" + ], + "output": [ + "210210", + "020020" + ] + }, + { + "input": [ + "210", + "202", + "222" + ], + "output": [ + "210210", + "202202", + "222222" + ] + }, + { + "input": [ + "00", + "20", + "22" + ], + "output": [ + "0000", + "2020", + "2222" + ] + } + ], + "test": [ + "00", + "20" + ], + "rule": [ + { + "op": "repeat", + "across": "2", + "down": "1" + } + ] +}