about | help | code help+videos | done | prefs |
backWords() -- Given a String s containing only alphabetic characters and spaces, return a String t in which each word is written backwards. Word order and spacing between words should be left unchanged. backWords('Tofu') → 'ufoT' backWords('a b c d') → 'a b c d' backWords('red fish blue fish') → 'der hsif eulb hsif' ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Copyright Nick Parlante 2017 - privacy