EPAM Systems interview question

Move zeros to the end Frequency map using streams