Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

6
  • \$\begingroup\$ Are you allowed to have trailing spaces in your output? \$\endgroup\$ Commented Jul 21, 2017 at 15:54
  • \$\begingroup\$ @EriktheOutgolfer Yes. Sorry, I added that after posting it. \$\endgroup\$ Commented Jul 21, 2017 at 15:54
  • \$\begingroup\$ Can we take an array of arrays of strings? abc, def -> [['a', 'b', 'c'], ['d', 'e', 'f']] \$\endgroup\$ Commented Jul 21, 2017 at 16:19
  • \$\begingroup\$ @totallyhuman I wouldn't say so. Though, if in your language strings are arrays of chars and chars have the same type as strings, then it would be valid I guess. \$\endgroup\$ Commented Jul 21, 2017 at 16:23
  • \$\begingroup\$ Are we allowed to take input as a list of strings? \$\endgroup\$ Commented Jul 21, 2017 at 16:44