diff --git a/reverse-words-in-a-sentence.json b/reverse-words-in-a-sentence.json new file mode 100644 index 0000000..5f76c8a --- /dev/null +++ b/reverse-words-in-a-sentence.json @@ -0,0 +1,6 @@ +[ + { "input": ["hello world"], "expected": "world hello" }, + { "input": ["the sky is blue"], "expected": "blue is sky the" }, + { "input": [""], "expected": "" }, + { "input": ["a"], "expected": "a" } +]