Add another solution.
Add another solution.

I can use filter function to go through the collection 3 times. But I
thinks this is much faster and clean.

advancedxy/hackerrank,advancedxy/hackerrank,advancedxy/hackerrank