Find the Largest & Smallest words from string


Example 1:



Output :

Smallest word: an
Largest word: extraordinary