Jump to content

Talk:Sort the letters of string in alphabetical order: Difference between revisions

Line 41:
 
::::: I'll see your pedantic and raise you one. Like most I misread it. The task states you must create a routine, but does not stipulate that cannot be a one-liner to some builtin or other. Or even what the output should be. Not that I much care ;-) --[[User:Petelomax|Pete Lomax]] ([[User talk:Petelomax|talk]]) 17:18, 26 July 2021 (UTC)
 
:::::: It says : "Write the function even if your language has a built-in function for it." and that's something CalmoSoft wrote (not me) and demonstrated he meant it in his Ring solution. --[[User:PureFox|PureFox]] ([[User talk:PureFox|talk]]) 18:15, 26 July 2021 (UTC)
 
:::: The task title and description are currently at odds with each other. The former says sort in alphabetical order and the latter in lexicographical order. Given that we have example strings containing both upper and lower case letters and non-letters, lexicographical order seems the most appropriate to me and I therefore agree with Paddy3118's suggested title change above. --[[User:PureFox|PureFox]] ([[User talk:PureFox|talk]]) 15:48, 26 July 2021 (UTC)
9,487

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.