From fe0f738699acbf890f07a7e12e49b9c98a457a70 Mon Sep 17 00:00:00 2001 From: Jim Infield Date: Tue, 10 Aug 2021 13:19:14 -0500 Subject: [PATCH] add README --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..7674314 --- /dev/null +++ b/README.md @@ -0,0 +1,15 @@ +## Your Order, Please + +Your task is to sort a given string. Each word in the string will contain a single number. This number is the position the word should have in the result. + +>*Note: Numbers can be from 1 to 9. So 1 will be the first word (not 0).* + +If the input string is empty, return an empty string. The words in the input String will only contain valid consecutive numbers. + +**Examples** + +``` +"is2 Thi1s T4est 3a" --> "Thi1s is2 3a T4est" +"4of Fo1r pe6ople g3ood th5e the2" --> "Fo1r the2 g3ood 4of th5e pe6ople" +"" --> "" +``` \ No newline at end of file