diff --git a/subjects/argsort/README.md b/subjects/argsort/README.md index 4663c7305..b311c4d3e 100644 --- a/subjects/argsort/README.md +++ b/subjects/argsort/README.md @@ -3,22 +3,26 @@ ### Instructions Write a program that checks if an argument is sorted or not. -- Your Program should return `T` followed by a newline (`'`\n'`) if an argument is sorted. -- Your Program should return `F` followed by a newline (`'`\n'`) if an argument is not sorted. -- Space and Tabulation are included in the sort. +- Your Program should return `T` followed by a newline (`'\n'`) if an argument is sorted. +- Your Program should return `F` followed by a newline (`'\n'`) if an argument is not sorted. +- If there is more than one argument return a newline (`'\n'`). +- If the argument is empty return a newline (`'\n'`). ### Usage And it's output should be: ```console -$ go run . +$ go run . +$ $ go run . a | cat -e +T$ $ go run . " 5ABc" | cat -e T$ $ go run . "zA1" | cat -e F$ $ go run . "01Talent" "student" | cat -e +$ $ go run . "Hello World" | cat -e F$ $ go run . "a b c" | cat -e