Skip to content

sidewayssorting

bradendubois edited this page Sep 10, 2021 · 7 revisions

Sideways Sorting

ID: sidewayssorting

Difficulty: 2.1

CPU Time: 1 second

Memory: 1024 MB

Solution

For this, one must implement their lexicographical sort, but output is different. Instead of outputting word by word, output the first letter of each word, then the second, etc.

Clone this wiki locally