To celebrate programming day, could we create solutions for a little challenge?
We have the following statement:
Given a string of words, return the length of the shortest word(s).
String will never be empty and you do not need to account for different data types.
Some test made in Java would be:
import org.junit.Test; import java.util.Arrays; import java.util.Random; import java.util.stream.Collectors; import static org.junit.Assert.assertEquals; /** * Created by Javatlacati on 01/03/2017.

.png)
.png)
.png)
.png)