Problem 1451 · Medium

Rearrange Words in a Sentence

Reorder the words of a sentence by length, keeping original order for equal lengths, and restore the capital letter. The visual sorts word tiles by length.

Open the interactive visualisation